This project aims to develop a hybrid chess artificial intelligence that integrates a convolutional neural network (CNN), Monte Carlo Tree Search algorithm (MCTS), opening book, and graphical user interface (GUI). This AI is capable of evaluating and solving chess games by leveraging the advantages of deep learning techniques and search algorithms.
This project is part of a thesis, so the code found here is only for educational and research purposes. Commercial use is not permitted.
The software and libraries required to run the project are installed in the following steps:
First, clone the project and then create the environment using conda.
git clone <project-repo-url>
cd <project-location>
conda env create -f environment.yml
conda activate hybrid_chess_ai
After activating the environment, run the main script:
python -m src.gui.main
Run the following script to preprocess the raw opening files:
python preprocess_opening_book.py
Note: cd into src/utils before running the script