{"id":25058387,"url":"https://github.com/nurulashraf/java-tic-tac-toe","last_synced_at":"2025-08-20T06:39:34.733Z","repository":{"id":275718633,"uuid":"926969297","full_name":"nurulashraf/java-tic-tac-toe","owner":"nurulashraf","description":"A simple two-player console-based Tic-Tac-Toe game written in Java. Includes input validation, win detection, and a turn-based system. Players take turns entering their moves, and the game announces the winner or a draw. Ideal for beginners learning Java basics and game logic.","archived":false,"fork":false,"pushed_at":"2025-02-04T07:11:50.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T09:55:00.695Z","etag":null,"topics":["beginner-friendly","command-line-game","console-game","game-development","java","tic-tac-toe","two-player"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nurulashraf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2025-02-04T07:09:39.000Z","updated_at":"2025-02-04T07:13:23.000Z","dependencies_parsed_at":"2025-02-04T08:31:03.960Z","dependency_job_id":null,"html_url":"https://github.com/nurulashraf/java-tic-tac-toe","commit_stats":null,"previous_names":["nurulashraf/java-tic-tac-toe"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nurulashraf%2Fjava-tic-tac-toe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nurulashraf%2Fjava-tic-tac-toe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nurulashraf%2Fjava-tic-tac-toe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nurulashraf%2Fjava-tic-tac-toe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nurulashraf","download_url":"https://codeload.github.com/nurulashraf/java-tic-tac-toe/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246450475,"owners_count":20779421,"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","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":["beginner-friendly","command-line-game","console-game","game-development","java","tic-tac-toe","two-player"],"created_at":"2025-02-06T14:32:16.150Z","updated_at":"2025-03-31T10:14:37.458Z","avatar_url":"https://github.com/nurulashraf.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Java Tic-Tac-Toe\n\nA simple two-player console-based Tic-Tac-Toe game written in Java. The game includes input validation, win detection, and a turn-based system. Players take turns entering their moves, and the game announces the winner or a draw. Ideal for beginners learning Java basics and game logic.\n\n## Features\n- Two-player turn-based gameplay\n- Input validation to prevent invalid moves\n- Automatic win and draw detection\n- Simple console-based UI\n\n## Installation\n1. Clone the repository:\n   ```sh\n   git clone https://github.com/nurulashraf/java-tic-tac-toe.git\n   ```\n2. Navigate to the project directory:\n   ```sh\n   cd java-tic-tac-toe\n   ```\n3. Compile the Java code:\n   ```sh\n   javac src/TicTacToe.java\n   ```\n4. Run the game:\n   ```sh\n   java -cp src tictactoe.TicTacToe\n   ```\n\n## Usage\n- Run the program and follow the on-screen instructions.\n- Players take turns inputting row and column numbers (0-2) to place their mark (`X` or `O`).\n- The game will announce the winner or a draw when applicable.\n\n## License\nThis project is licensed under the MIT License. See the `LICENSE` file for details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnurulashraf%2Fjava-tic-tac-toe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnurulashraf%2Fjava-tic-tac-toe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnurulashraf%2Fjava-tic-tac-toe/lists"}