This is the repository for a python chess engine with an Q-Learning IA. The goal was to have fun with artificial intelligence and to step up our knowledge on reinforcement learning !
The Chess Engine is available in the file board.py
. It is a really simple engine that let us play chess game.
There is two different way to launch a game.
To launch the CLI chess game, you need to run :
python main.py
A CLI interface will let you moove your pieces with some input.
To launch the pygame chess game, you need to run :
python display.py
Pygame with a real chess interface will let you moove your pieces with your mouse.
The IA here is a Q-Learning Algorithm made with python. The proof of concept is in the file main_AI.py
.
A small reference chess game with the demonstration of the AI is available. You just need to run :
python displayIA.py