{"id":31447936,"url":"https://github.com/charan12-git/coding-samurai-internship-task-2","last_synced_at":"2025-10-29T12:48:41.068Z","repository":{"id":316247601,"uuid":"1062592839","full_name":"charan12-git/CODING-SAMURAI-INTERNSHIP-TASK-2","owner":"charan12-git","description":null,"archived":false,"fork":false,"pushed_at":"2025-09-23T13:20:53.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-23T15:21:29.794Z","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/charan12-git.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-23T13:13:44.000Z","updated_at":"2025-09-23T13:20:56.000Z","dependencies_parsed_at":"2025-09-23T15:21:43.640Z","dependency_job_id":"375e501f-e1a6-46c0-9ff9-30a7160cb54b","html_url":"https://github.com/charan12-git/CODING-SAMURAI-INTERNSHIP-TASK-2","commit_stats":null,"previous_names":["charan12-git/coding-samurai-internship-task-2"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/charan12-git/CODING-SAMURAI-INTERNSHIP-TASK-2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charan12-git%2FCODING-SAMURAI-INTERNSHIP-TASK-2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charan12-git%2FCODING-SAMURAI-INTERNSHIP-TASK-2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charan12-git%2FCODING-SAMURAI-INTERNSHIP-TASK-2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charan12-git%2FCODING-SAMURAI-INTERNSHIP-TASK-2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/charan12-git","download_url":"https://codeload.github.com/charan12-git/CODING-SAMURAI-INTERNSHIP-TASK-2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charan12-git%2FCODING-SAMURAI-INTERNSHIP-TASK-2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277782799,"owners_count":25876209,"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","status":"online","status_checked_at":"2025-10-01T02:00:09.286Z","response_time":88,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-10-01T02:14:39.793Z","updated_at":"2025-10-01T02:14:43.424Z","avatar_url":"https://github.com/charan12-git.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CODING-SAMURAI-INTERNSHIP-TASK-2\n# 🎮 Tic-Tac-Toe AI (Minimax Algorithm)\n\nA simple console-based **Tic-Tac-Toe** game in Python where you play against an **AI opponent** powered by the **Minimax algorithm with alpha-beta pruning**.  \nThe AI can play optimally (unbeatable) or in an easier mode (random mistakes).\n\n---\n\n## ✨ Features\n- Play as **X** (first) or **O** (second).\n- AI opponent using **Minimax with alpha-beta pruning**.\n- Two difficulty levels:\n  - **Optimal**: AI plays perfectly (cannot be beaten).\n  - **Easy**: AI sometimes makes random moves, making it beatable.\n- Clean console-based UI with numbered grid positions.\n- Replay option after each game.\n\n---\n\n\n## 🚀 How to Run\n\n### 1. Clone the repository and Run the file\n```bash\ngit clone https://github.com/your-username/tic-tac-toe-ai.git\ncd tic-tac-toe-ai.\n\npython tictactoe.py\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharan12-git%2Fcoding-samurai-internship-task-2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcharan12-git%2Fcoding-samurai-internship-task-2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharan12-git%2Fcoding-samurai-internship-task-2/lists"}