{"id":24316053,"url":"https://github.com/venkat-0706/tic-tac-toe-game","last_synced_at":"2025-04-13T05:26:25.408Z","repository":{"id":255154852,"uuid":"848423619","full_name":"venkat-0706/Tic-Tac-Toe-Game","owner":"venkat-0706","description":"Tic-Tac-Toe is a simple game where two players try to get three marks in a row on a 3x3 grid. The first player to achieve this wins. If no one does, it's a draw.","archived":false,"fork":false,"pushed_at":"2024-10-07T09:21:24.000Z","size":10,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T22:11:13.757Z","etag":null,"topics":["2d-arrays","ai-algorithms","conditional-statements","game-development","interactive-console-applications","logic-programming","python-programming","user-input-handling"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/venkat-0706.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-27T18:24:54.000Z","updated_at":"2025-03-08T06:54:32.000Z","dependencies_parsed_at":"2024-08-28T10:25:20.481Z","dependency_job_id":"996a10dc-90fa-46ee-825c-fb3d1522abc3","html_url":"https://github.com/venkat-0706/Tic-Tac-Toe-Game","commit_stats":null,"previous_names":["venkat-0706/tic-tac-toe-game"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/venkat-0706%2FTic-Tac-Toe-Game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/venkat-0706%2FTic-Tac-Toe-Game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/venkat-0706%2FTic-Tac-Toe-Game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/venkat-0706%2FTic-Tac-Toe-Game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/venkat-0706","download_url":"https://codeload.github.com/venkat-0706/Tic-Tac-Toe-Game/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248667234,"owners_count":21142395,"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":["2d-arrays","ai-algorithms","conditional-statements","game-development","interactive-console-applications","logic-programming","python-programming","user-input-handling"],"created_at":"2025-01-17T12:17:54.275Z","updated_at":"2025-04-13T05:26:25.391Z","avatar_url":"https://github.com/venkat-0706.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tic-Tac-Toe-Game\nTic Tac Toe is a simple, two-player game played on a 3x3 grid. The game is played between two players, X and O, who take turns marking a square on the board. The first player to get three of their marks in a row (horizontally, vertically, or diagonally) wins the game. If all squares are filled and no player has won, the game is a draw. The game requires strategic thinking and is a great introduction to game development and problem-solving..\nSure! Here’s an updated version with contact details included:\n\n---\n\n### Project Overview:\nThe Tic Tac Toe game is a classic 3x3 grid game where two players take turns marking cells with their respective symbols (X and O) to achieve a line of three symbols horizontally, vertically, or diagonally. This Python project features a simple text-based interface, allowing two players to interact via the console.\n\n### Implementation Details:\n- **Game Board**: Represented as a 2D list (3x3) where each cell holds either 'X', 'O', or is empty.\n- **Game Loop**: Alternates between player turns, checks for win conditions, and manages input validation.\n- **Win Conditions**: Checks for three in a row horizontally, vertically, or diagonally.\n- **Input Handling**: Players input their move by specifying the row and column, and the game validates the move to ensure it's within bounds and the cell is empty.\n\n### Complexities Faced:\n1. **Input Validation**: Ensuring valid user inputs (within grid boundaries and empty cells) required careful error handling to avoid crashes and ensure smooth gameplay.\n2. **Win Condition Detection**: Implementing the logic to check all possible win conditions (rows, columns, diagonals) was complex, requiring accurate end-of-game identification.\n3. **Game Flow Management**: Managing turn alternation and game state involved handling multiple states and conditions.\n\n### How it works\n![TIC_TAC](https://github.com/user-attachments/assets/b18a6e0b-18a3-494c-bd8b-7694c72a596b)\n\n### Outcomes:\n- **Functional Game**: Successfully implemented a working Tic Tac Toe game where two players can take turns and play until there’s a win or a draw.\n- **User Experience**: Provided a simple, interactive text-based game that is easy to play and understand.\n\n### Lessons Learned:\n1. **Error Handling**: Proper input validation and error handling are crucial for creating a user-friendly experience and avoiding program crashes.\n2. **Logic Implementation**: Developing logic for win detection and game flow management enhances problem-solving skills and understanding of conditional checks.\n3. **User Interaction**: Designing a game interface, even a text-based one, requires attention to user experience, including clear prompts and responses.\n\n### Contact Details:\nFor further inquiries or feedback about the Tic Tac Toe project, you can reach out to me at:\n\n- **Email**: [chanduabbireddy247@gmail.com]\n\n- **GitHub**: [https://github.com/venkat-0706]\n\nFeel free to contact me if you have any questions or need further information about the project!\n\n---\n\nLet me know if there's anything else you'd like to add or modify!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvenkat-0706%2Ftic-tac-toe-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvenkat-0706%2Ftic-tac-toe-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvenkat-0706%2Ftic-tac-toe-game/lists"}