SereMark / Hibrid-Chess-AI

Thesis
Other
0 stars 0 forks source link
artificial-intelligence machine-learning python

Hibrid Chess AI using CNN, MCTS and Opening Book

Introduction

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.

Important Note

This project is part of a thesis, so the code found here is only for educational and research purposes. Commercial use is not permitted.

Requirements

The software and libraries required to run the project are installed in the following steps:

Installation

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

Usage