suragnair/alpha-zero-general

A clean implementation based on AlphaZero for any game in any framework + tutorial + Othello/Gobang/TicTacToe/Connect4 and more

51
/ 100
Established

This project offers a flexible implementation of the AlphaZero algorithm, enabling you to train an AI to play any two-player turn-based board game. It takes the rules of a game and a neural network model as input, and outputs a highly skilled AI player that learns through self-play. This is ideal for AI researchers, game designers, or hobbyists looking to create strong AI opponents for custom or existing board games.

4,388 stars. No commits in the last 6 months.

Use this if you want to develop an AI player for a two-player turn-based game that learns optimally without human expert data.

Not ideal if you need an AI for real-time strategy games, single-player games, or games with imperfect information.

game-AI board-game-development reinforcement-learning-research AI-opponent-creation strategic-game-analysis
Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 25 / 25

How are scores calculated?

Stars

4,388

Forks

1,147

Language

Jupyter Notebook

License

MIT

Last pushed

Jan 01, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/suragnair/alpha-zero-general"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.