Based on the article that I write
Part 1: https://towardsdatascience.com/create-your-own-board-game-with-powerful-ai-from-scratch-part-1-5dcb028002b8
Part 2: https://towardsdatascience.com/create-ai-for-your-own-board-game-from-scratch-minimax-part-2-517e1c1e3362
Part 3: https://towardsdatascience.com/create-ai-for-your-own-board-game-from-scratch-alpha-zero-part-3-f22761372245
This repository has the documentation almost all of functions. Hope that it will make you understand better.
The game will be used to experiment some AI Algorithms. There are two AI Algorithms that have been already implemented:
Install Python Anaconda if you haven't https://www.anaconda.com/download/
install each packages by using
You can see
config.py for the configuration of this program and edit it.
config.py for further information
Train AlphaZero without pre-trained model (the model that you have previously trained):
python main.py train -azt
Train AlphaZero from pre-trained model:
python main.py train -aztc
Play the game with PyQt5 GUI :
python main.py play -p GUI
CLI is currently unavailable
Q : Can I Contribute?
A : Of course, just tell me what you want to contribute.
Q : Can I Contact you?
A : email me in email@example.com if you want to contact me. Especially about this project.