{"id":20708123,"url":"https://github.com/sumitst05/tic_tac_toe_cpp","last_synced_at":"2025-04-23T02:16:44.657Z","repository":{"id":102544499,"uuid":"556356945","full_name":"sumitst05/Tic_Tac_Toe_cpp","owner":"sumitst05","description":"A Tic Tac Toe game made in C++. Featuring undefeatable AI opponent (You can draw against it)","archived":false,"fork":false,"pushed_at":"2023-06-09T10:47:36.000Z","size":35,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-23T02:16:39.839Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","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/sumitst05.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":"2022-10-23T17:09:11.000Z","updated_at":"2023-08-15T11:24:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"1f308650-24de-41d5-9a1f-d7769b644d71","html_url":"https://github.com/sumitst05/Tic_Tac_Toe_cpp","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/sumitst05%2FTic_Tac_Toe_cpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumitst05%2FTic_Tac_Toe_cpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumitst05%2FTic_Tac_Toe_cpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumitst05%2FTic_Tac_Toe_cpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sumitst05","download_url":"https://codeload.github.com/sumitst05/Tic_Tac_Toe_cpp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250354511,"owners_count":21416751,"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":[],"created_at":"2024-11-17T01:29:21.234Z","updated_at":"2025-04-23T02:16:44.649Z","avatar_url":"https://github.com/sumitst05.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ❌ Tic_Tac_Toe_cpp ⭕\n\nThis is a simple command-line Tic Tac Toe game written in C++.\n- Has Single \u0026 Multi Player options.\n- Can select different characters as Marker in Multi-Player option.\n- Includes Invalid-Input flags (Program won't fall in an infinite loop if character is entered in buffer whe asked for integer or vice-cersa)\n- Implements Minimax Algorithm so the computer is able to make the best moves!!\n\n## Installation\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/sumitst05/Tic_Tac_Toe_cpp.git\n```\n2. cd into Tic_Tac_Toe_cpp directory:\n```bash \ncd Tic_Tac_Toe_cpp\n```\n3. Compile and Run the code using g++:\n```bash\ng++ -o Tic_Tac_Toe Tic_Tac_Toe.cpp \u0026\u0026 ./Tic_Tac_Toe\n```\n(or you can use an IDE)\n\n## How To Play\n\n- Start the game\n- Select [S]ingle / [M]ulti-Player option.\n  - Single Player: \n    - Take turns and play with the computer (Computer is actually smart now with the implementation of Minimax Algorithm)\n  - Multi Player: \n    - Select the marker for each player\n    - Take turns entering moves by typing numers from 1 to 9 to place your symbol there.\n\n## Contributing\n\nIf you find a bug or have an idea for a new feature, feel free to open an issue or submit a pull request.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumitst05%2Ftic_tac_toe_cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsumitst05%2Ftic_tac_toe_cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumitst05%2Ftic_tac_toe_cpp/lists"}