{"id":24847776,"url":"https://github.com/fr3fou/tic-tac-toe-solver","last_synced_at":"2025-10-14T20:30:23.404Z","repository":{"id":133390735,"uuid":"284499549","full_name":"fr3fou/tic-tac-toe-solver","owner":"fr3fou","description":"tic-tac-toe implementation \u0026 solver, using raylib for the gui and minimax + alpha-beta pruning for the solver","archived":false,"fork":false,"pushed_at":"2024-05-27T10:17:21.000Z","size":168,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-31T11:36:23.393Z","etag":null,"topics":["alpha-beta-pruning","gui","minimax","raylib"],"latest_commit_sha":null,"homepage":"https://simo.sh/projects/tic-tac-toe-ai","language":"Go","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/fr3fou.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":"2020-08-02T16:31:16.000Z","updated_at":"2024-05-27T10:17:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"38fc6ad0-9ca8-45d4-bd5c-204cf7fb0e93","html_url":"https://github.com/fr3fou/tic-tac-toe-solver","commit_stats":null,"previous_names":["fr3fou/tic-tac-toe-solver"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fr3fou/tic-tac-toe-solver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fr3fou%2Ftic-tac-toe-solver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fr3fou%2Ftic-tac-toe-solver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fr3fou%2Ftic-tac-toe-solver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fr3fou%2Ftic-tac-toe-solver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fr3fou","download_url":"https://codeload.github.com/fr3fou/tic-tac-toe-solver/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fr3fou%2Ftic-tac-toe-solver/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279020905,"owners_count":26086948,"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-14T02:00:06.444Z","response_time":60,"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":["alpha-beta-pruning","gui","minimax","raylib"],"created_at":"2025-01-31T11:32:26.502Z","updated_at":"2025-10-14T20:30:23.399Z","avatar_url":"https://github.com/fr3fou.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tic-tac-toe-solver\n\nYou can read more about this [here](https://simo.sh/projects/tic-tac-toe-ai).\n\nA Tic-Tac-Toe implementation and solver, using Raylib for the GUI and Minimax + Alpha-Beta pruning for the solver.\n\n![](win.gif)\n\n###### Winning demo \n\n![](draw.gif)\n\n###### Draw demo \n\n## TODO\n\n- [x] Core game\n- [x] Rendering with Raylib\n- [x] Minimax\n- [x] Alpha-Beta Pruning\n- [ ] Symmetry reduction\n\n## References\n\n- \u003chttps://imada.sdu.dk/~marco/Teaching/AY2011-2012/DM828/Slides/dm828-lec17.pdf\u003e\n- \u003chttps://towardsdatascience.com/game-ais-with-minimax-and-monte-carlo-tree-search-af2a177361b0\u003e\n- \u003chttps://brilliant.org/wiki/minimax/\u003e\n- \u003chttps://brilliant.org/wiki/nash-equilibrium/\u003e\n- \u003chttps://brilliant.org/wiki/prisoners-dilemma/\u003e\n- \u003chttps://www.educba.com/minimax-algorithm/\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffr3fou%2Ftic-tac-toe-solver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffr3fou%2Ftic-tac-toe-solver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffr3fou%2Ftic-tac-toe-solver/lists"}