This is an implementation of the AlphaZero algorithm for playing the simple board game 4 in a row.
To play with provided models, run the following script from the directory:
python human_play.py
You may modify human_play.py to try different provided models or the pure MCTS.
To train the AI model, directly run:
python train.py
The Ai player has a very high winning percentage.
Thanks Similar work
- By Junxiao Song: https://github.com/junxiaosong/AlphaZero_Gomoku