{"id":23184449,"url":"https://github.com/alphacrypto246/tic-tak-toe","last_synced_at":"2025-09-25T09:40:20.410Z","repository":{"id":164373857,"uuid":"631358494","full_name":"alphacrypto246/Tic-Tak-Toe","owner":"alphacrypto246","description":"The Tic-Tac-Toe project is a simple Java implementation of the classic 2-player game, where players take turns marking a 3x3 grid with 'X' and 'O'. The game checks for win conditions and ties.","archived":false,"fork":false,"pushed_at":"2024-12-06T09:28:51.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T12:15:32.217Z","etag":null,"topics":["java"],"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/alphacrypto246.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}},"created_at":"2023-04-22T19:14:49.000Z","updated_at":"2024-12-06T09:29:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"3548d6ca-a3e3-486b-a521-804f7890a29e","html_url":"https://github.com/alphacrypto246/Tic-Tak-Toe","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphacrypto246%2FTic-Tak-Toe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphacrypto246%2FTic-Tak-Toe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphacrypto246%2FTic-Tak-Toe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphacrypto246%2FTic-Tak-Toe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alphacrypto246","download_url":"https://codeload.github.com/alphacrypto246/Tic-Tak-Toe/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247284957,"owners_count":20913704,"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":["java"],"created_at":"2024-12-18T09:19:21.804Z","updated_at":"2025-09-25T09:40:20.320Z","avatar_url":"https://github.com/alphacrypto246.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tic-Tac-Toe Game\n\nA simple implementation of the classic Tic-Tac-Toe game in Java. This game allows two players to play the game on a 3x3 grid, where they take turns marking spaces with 'X' and 'O'. The first player to align three of their marks vertically, horizontally, or diagonally wins the game.\n\n## Features\n\n- **2-player gameplay**: Players take turns to place 'X' and 'O'.\n- **Board display**: The board is printed after each move to show the current state.\n- **Win conditions**: The game checks for win conditions (horizontal, vertical, diagonal).\n- **Tie detection**: The game detects a tie if the board is full without a winner.\n\n## Technologies Used\n\n- **Java**: The programming language used for implementing the game logic and user interface.\n\n## How to Play\n\n1. Clone or download the repository.\n2. Compile and run the `TickTakToe.java` file in any Java IDE or from the command line.\n3. The game will prompt each player to enter a number (1-9) corresponding to a cell on the grid.\n4. The game alternates turns between Player 1 (X) and Player 2 (O).\n5. The game ends when a player wins or all cells are filled (tie).\n\n## How to Run\n\n1. Clone the repository:\n\n    ```bash\n    git clone https://github.com/alphacrypto246/Tic-Tak-Toe.git\n    ```\n\n2. Compile the Java program:\n\n    ```bash\n    javac TickTakToe.java\n    ```\n\n3. Run the compiled Java program:\n\n    ```bash\n    java TickTakToe\n    ```\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falphacrypto246%2Ftic-tak-toe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falphacrypto246%2Ftic-tak-toe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falphacrypto246%2Ftic-tak-toe/lists"}