{"id":18621879,"url":"https://github.com/mohamed-sayedalahl/tictactoe","last_synced_at":"2026-04-30T13:32:53.609Z","repository":{"id":253536083,"uuid":"843437999","full_name":"Mohamed-SayedAlAhl/TicTacToe","owner":"Mohamed-SayedAlAhl","description":"A TicTacToe (XO) Game with many features and capable computer opponent that will block nearly every move you make!!","archived":false,"fork":false,"pushed_at":"2024-08-17T16:59:32.000Z","size":176,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-17T05:11:21.669Z","etag":null,"topics":["csharp","dotnet","exe","framework","game","gamedev","tictactoe"],"latest_commit_sha":null,"homepage":"https://github.com/Mohamed-SayedAlAhl/TicTacToe","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mohamed-SayedAlAhl.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":"2024-08-16T14:11:21.000Z","updated_at":"2024-08-17T13:31:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"2d69c23b-6ccf-4068-b49c-d4612344b796","html_url":"https://github.com/Mohamed-SayedAlAhl/TicTacToe","commit_stats":null,"previous_names":["mohamed-sayedalahl/tictactoe"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Mohamed-SayedAlAhl/TicTacToe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mohamed-SayedAlAhl%2FTicTacToe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mohamed-SayedAlAhl%2FTicTacToe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mohamed-SayedAlAhl%2FTicTacToe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mohamed-SayedAlAhl%2FTicTacToe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mohamed-SayedAlAhl","download_url":"https://codeload.github.com/Mohamed-SayedAlAhl/TicTacToe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mohamed-SayedAlAhl%2FTicTacToe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32466333,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["csharp","dotnet","exe","framework","game","gamedev","tictactoe"],"created_at":"2024-11-07T04:13:56.961Z","updated_at":"2026-04-30T13:32:53.603Z","avatar_url":"https://github.com/Mohamed-SayedAlAhl.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n# Tic-Tac-Toe Game\n\nThis is a simple Tic-Tac-Toe (XO) game developed using C# and Windows Forms. The game allows a player to compete against the computer, with the computer's moves being determined by a basic AI strategy.\n\n## Features\n\n- **Single Player Mode**: Play against the computer.\n- **Cheating Mode**: Enable or disable a \"Cheating Mode\" where the computer has an advantage.\n- **Score Tracking**: The game keeps track of how many times the player and the computer have won.\n- **Reset Functionality**: Reset the game to start a new round.\n- **User-Friendly Interface**: Intuitive and simple design for ease of play.\n\n## Game Logic\n\nThe game board consists of a 3x3 grid of picture boxes that can be clicked by the player to make a move. The game automatically switches between the player and the computer, checking for a winner after each move.\n\n### Player Moves\n\n- The player starts the game and plays with the \"X\" symbol.\n- The computer plays with the \"O\" symbol.\n- The player can click on any empty box to make a move.\n\n### Computer Moves\n\n- The computer's move is determined by predefined win conditions, which it tries to satisfy to either win or block the player from winning.\n- If no winning move is available, the computer will make a random move.\n\n### Winning Conditions\n\nThe game checks for the following winning conditions after each move:\n\n- Three symbols in a row (horizontal, vertical, or diagonal).\n- If all boxes are filled without a winner, the game ends in a draw.\n\n### Cheating Mode\n\nThe \"Cheating Mode\" gives the computer an advantage by allowing it to make two moves in one turn. This mode can be toggled on or off using a button in the UI.\n\n## Getting Started\n\n### Prerequisites\n\n- Windows operating system.\n- .NET Framework 4.7.2 or higher.\n\n### Installation\n\n1. Download The latest exe version from the release section and enjoy!!\n\n## Usage\n\n- Start the application to begin the game.\n- Click on any empty box to make your move.\n- The game will alternate between your move and the computer's move.\n- Use the \"Reset\" button to start a new game.\n- Toggle the \"Cheating Mode\" to enable or disable the computer's advantage.\n\n## License\n\nPlease refer to the [LICENSE](https://github.com/Mohamed-SayedAlAhl/TicTacToe/blob/main/LICENSE) file for detailed licensing terms.\n\n## Contact\n\nFor any questions or permission requests, please contact:\n\n- [Mohamed Sayed Al-Ahl](https://www.linkedin.com/in/mohamed-sayedalahl/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohamed-sayedalahl%2Ftictactoe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmohamed-sayedalahl%2Ftictactoe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohamed-sayedalahl%2Ftictactoe/lists"}