Famous quote:
If you do something for 1.000 hours, you will become good in it.
This project will be used to train a model using deep reinforcement learning (deep RL) based on opponents play.
Nevertheless, the game can be played in multi-player mode without fancy ML features.
The project will eventually contain the following features (ticked ones implemented)
[x] complete chess game
[ ] history log and game loading
[ ] deep learning reinforced model
[ ] trained example model
[ ] payable against trained model
[ ] can train own model based on your moves!
e1
, Pawn e2
moves up until e8
and gets promoted into Rook
Game(underpromoted_castling=True)
clone the project
git clone git@github.com:philsupertramp/chess
Install requirements
pip install -r requirements.txt
Run the game in 2P mode
python main.py
Run the game in headless console mode (no dependencies required)
python main.py --headless
clone the repository and install the dependencies using requirements-dev.txt
.
https://user-images.githubusercontent.com/9550040/126046245-74f7ed12-d695-4153-b909-2535f48e3706.mp4