{"id":25582530,"url":"https://github.com/imwrdo/tic-tac-toe-java","last_synced_at":"2025-09-05T06:38:59.162Z","repository":{"id":278594002,"uuid":"934044336","full_name":"imwrdo/tic-tac-toe-java","owner":"imwrdo","description":"Java implementation of tic-tac-toe game","archived":false,"fork":false,"pushed_at":"2025-03-01T12:24:16.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-02T07:02:50.461Z","etag":null,"topics":["java","java-core","java-games"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/imwrdo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-17T07:18:29.000Z","updated_at":"2025-03-01T12:24:20.000Z","dependencies_parsed_at":"2025-02-20T16:39:19.738Z","dependency_job_id":"2afc3148-af70-48fe-9afe-bd479bdd3994","html_url":"https://github.com/imwrdo/tic-tac-toe-java","commit_stats":null,"previous_names":["imwrdo/tic-tac-toe-java"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/imwrdo/tic-tac-toe-java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imwrdo%2Ftic-tac-toe-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imwrdo%2Ftic-tac-toe-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imwrdo%2Ftic-tac-toe-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imwrdo%2Ftic-tac-toe-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imwrdo","download_url":"https://codeload.github.com/imwrdo/tic-tac-toe-java/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imwrdo%2Ftic-tac-toe-java/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273723193,"owners_count":25156302,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","java-core","java-games"],"created_at":"2025-02-21T05:17:12.594Z","updated_at":"2025-09-05T06:38:59.153Z","avatar_url":"https://github.com/imwrdo.png","language":"Java","readme":"# Tic-Tac-Toe in Java\n\nA command-line implementation of the classic Tic-Tac-Toe game written in Java.\n\n## Features\n\n- Two game modes:\n    - Human vs Human\n    - Human vs Computer\n- Simple command-line interface\n- Computer player with strategic moves\n- Input validation\n- Interactive game board display\n\n## Requirements\n\n- Java 23 or higher\n\n\n## How to Play\n\n1. Start the game and choose a game mode:\n    - 1 for Human vs Human\n    - 2 for Human vs Computer\n    - 3 to Exit\n\n2. The board is numbered from 1 to 9:\n```\n  1 | 2 | 3  \n------------\n  4 | 5 | 6  \n------------\n  7 | 8 | 9  \n```\n\n3. Players take turns entering a number (1-9) to place their mark (X or O)\n4. First player to get three in a row (horizontally, vertically, or diagonally) wins!\n\n## Project Structure\n\n```\nsrc\n└── org.example\n    ├── enums\n    │    └── Character.java - Enum representing the characters used in the game\n    ├── logic\n    │    ├── core\n    │    │    ├── Game.java - Initializes a new game\n    │    │    ├── GameProcessLogicHandler.java - Handles the game loop logic\n    │    │    └── GameSession.java - Starts the game session by setting up players, and starting the game loop.\n    │    ├── gamemode\n    │    │    ├── HumanVsComputerMode.java - Implements the Human vs. Computer game mode.\n    │    │    └── HumanVsHumanMode.java - Implements the Human vs. Human game mode\n    │    └── menu\n    │         └── GameMenu.java - Manages the main menu and game mode selection\n    ├── players\n    │    ├── types\n    │    │    ├── Player.java - Represents a Human player\n    │    │    └── ComputerPlayer.java - Represents a Computer player\n    │    └── creator\n    │         └── PlayerCreator.java - Handles the creation of a Player\n    └── Main.java - You know what it is\n   \n\n```\n\n## Technical Details\n\n- Built with Java 23\n- Implements basic AI strategy for computer moves\n- Object-oriented design with clear separation of concerns\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimwrdo%2Ftic-tac-toe-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimwrdo%2Ftic-tac-toe-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimwrdo%2Ftic-tac-toe-java/lists"}