#537 · Primary category: Education & Research
alpha-zero-general
A clean implementation based on AlphaZero for any game in any framework + tutorial + Othello/Gobang/TicTacToe/Connect4 and more
Project last updated:01/01/25
GitHub Stars
4.5K
Forks
1.2K
Contributors
41
License
MIT
Why we included this project
Few repositories make AlphaGo Zero's ideas as easy to follow as this one. The code is deliberately simplified and well commented, so you can trace how the neural network, Monte Carlo Tree Search, and self-play training loop fit together without wading through a production-scale codebase. Game logic stays separate from the network implementation, so you can add your own two-player turn-based game and switch between PyTorch and Keras with only a few lines changed. A pretrained Othello model and a written tutorial let you check the results hands-on, which is useful when the goal is building intuition before tackling bigger systems.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
prompts.chat
f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.
JavaGuide
Java Interview & Backend General Interview Guide, covering computer fundamentals, databases, distributed systems, high concurrency, system design, and AI application development.
system-prompts-and-models-of-ai-tools
A curated collection of system prompts, internal tools, and AI models from popular AI assistants and coding agents.
30-seconds-of-code
Coding articles to level up your development skills
generative-ai-for-beginners
21 Lessons, Get Started Building with Generative AI