{"id":25012977,"url":"https://github.com/racoolstudio/ai-tic-tac-toe","last_synced_at":"2025-03-30T04:12:20.264Z","repository":{"id":220090090,"uuid":"750729950","full_name":"racoolstudio/AI-tic-tac-toe","owner":"racoolstudio","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-31T14:28:36.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-05T06:20:13.185Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/racoolstudio.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-01-31T07:49:28.000Z","updated_at":"2024-01-31T07:50:30.000Z","dependencies_parsed_at":"2024-01-31T09:00:10.602Z","dependency_job_id":"9bef5050-dc08-421d-a2e9-863a6df82fe4","html_url":"https://github.com/racoolstudio/AI-tic-tac-toe","commit_stats":null,"previous_names":["racoolstudio/tic-tac-toe"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/racoolstudio%2FAI-tic-tac-toe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/racoolstudio%2FAI-tic-tac-toe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/racoolstudio%2FAI-tic-tac-toe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/racoolstudio%2FAI-tic-tac-toe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/racoolstudio","download_url":"https://codeload.github.com/racoolstudio/AI-tic-tac-toe/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246273556,"owners_count":20750906,"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":"2025-02-05T06:19:30.187Z","updated_at":"2025-03-30T04:12:20.245Z","avatar_url":"https://github.com/racoolstudio.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AI Tic Tac Toe\n\nA basic implementation of Tic Tac Toe with an AI opponent.\n\n## Code Structure\n\n- `place(letter, location)`: Place 'x' or 'o' on the board.\n- `ai()`: AI opponent makes a move.\n- `isFilled()`: Check if the board is filled.\n- `checkWinner()`: Check for a winner.\n- `printBoard()`: Print the current state of the board.\n\n## How to Run\n\nSimply run the provided Python script:\n\n```bash \npython tic_tac_toe.py\n```\n## Link to Video : https://youtu.be/LUW0980_4ec\n## How to Play\n\n1. The board is represented as a 3x3 grid, and each cell is labeled with a number from 1 to 9.\n\n2. Enter a number to place your 'x' on the corresponding cell. The AI will then make its move.\n\n3. The game continues until there's a winner or the board is full.\n\n## Outcome\n\n- You Win if the player ('x') wins.\n- AI Wins if the AI ('o') wins.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fracoolstudio%2Fai-tic-tac-toe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fracoolstudio%2Fai-tic-tac-toe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fracoolstudio%2Fai-tic-tac-toe/lists"}