{"id":20760876,"url":"https://github.com/hetbhalani/tic-tac-toe","last_synced_at":"2026-04-24T14:33:20.824Z","repository":{"id":263030835,"uuid":"889066661","full_name":"hetbhalani/Tic-Tac-Toe","owner":"hetbhalani","description":"i made tic-tac-toe game using python","archived":false,"fork":false,"pushed_at":"2025-01-08T14:23:36.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-18T05:29:38.246Z","etag":null,"topics":["python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/hetbhalani.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":"2024-11-15T14:46:18.000Z","updated_at":"2025-01-08T14:23:40.000Z","dependencies_parsed_at":"2024-11-15T18:20:28.221Z","dependency_job_id":"be22ef07-529c-460f-a07e-fae73e30d72c","html_url":"https://github.com/hetbhalani/Tic-Tac-Toe","commit_stats":null,"previous_names":["hetbhalani/tic-tac-toe"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hetbhalani%2FTic-Tac-Toe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hetbhalani%2FTic-Tac-Toe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hetbhalani%2FTic-Tac-Toe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hetbhalani%2FTic-Tac-Toe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hetbhalani","download_url":"https://codeload.github.com/hetbhalani/Tic-Tac-Toe/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243076603,"owners_count":20232438,"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":["python"],"created_at":"2024-11-17T10:16:12.676Z","updated_at":"2025-12-16T12:50:36.985Z","avatar_url":"https://github.com/hetbhalani.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎮 Terminal-based Tic Tac Toe\n\nA colorful, interactive two-player Tic Tac Toe game that runs in the terminal. Players can choose their symbols (X or O) and compete against each other in this classic game.\n(fully made by me)\n\n## 🌟 Features\n\n- Colorful terminal interface using `termcolor`\n- Two-player gameplay\n- Custom player names\n- Symbol choice (X or O)\n- Game state tracking\n- Win detection\n- Draw detection\n- Option to restart or exit the game\n\n## 🚀 Installation\n\n1. Clone this repository:\n```bash\ngit clone https://github.com/hetbhalani/Tic-Tac-Toe.git\ncd Tic-Tac-Toe\n```\n\n2. Install the required package:\n```bash\npip install termcolor\n```\n\n## 🎯 How to Play\n\n1. Run the game:\n```bash\npython main.py\n```\n\n2. Enter the names for Player 1 and Player 2\n3. Player 1 chooses their symbol (X or O)\n4. Players take turns entering numbers (0-8) to place their symbols on the board\n5. Win by getting three symbols in a row (horizontally, vertically, or diagonally)\n6. Choose to restart or exit after the game ends\n\n## 🎲 Game Board Layout\n\nThe game board uses numbers 0-8 to represent positions:\n\n```\n 0 | 1 | 2 \n———|———|———\n 3 | 4 | 5 \n———|———|———\n 6 | 7 | 8 \n```\n\n## 🎨 Color Scheme\n\n- Player O: Cyan\n- Player X: Red\n- Board lines: Magenta\n- Available positions: Grey\n\n## ⚙️ Requirements\n\n- Python 3.x\n- termcolor package\n\n## 🤝 Contributing\n\nFeel free to fork this project and submit pull requests. You can also open issues for bugs or feature suggestions.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhetbhalani%2Ftic-tac-toe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhetbhalani%2Ftic-tac-toe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhetbhalani%2Ftic-tac-toe/lists"}