Skip to content

Linos1391/ChessAI-StockfishGUI

Repository files navigation

English | Tiếng Việt

ChessAI

The AI that kills chess.

Icon

ChessAI

This application will help you analyse chess position as a sub-window.

Table of contents

  1. Features

  2. Installing

  3. Set up Stockfish

  4. Running

  5. License

  6. Disclaimer

Features

New feature (v0.2.1):

  • Add template's info and O.P, I.P points.

features_11

For old features, visit Change Log.

Installing

Option 1: Install .exe file.

  • Open .exe file once for 'setting.json' being made. Then modified it and enjoy.

Notice: Your browser may report this file as not usually downloaded. Report its safety will help me a lot!

Option 2: Manually install through Github:

  1. Clone the repository.
git clone https://github.com/Linos1391/ChessAI.git
cd ChessAI
  1. Install the required python packages.
pip install -r requirements.txt

Set up Stockfish

  1. Go to download page and install Stockfish that support your device.
  2. Open ChessAI/setting.json file.
{
    "ChessAI": {
        "Engine": "", <-- Put your Stockfish path here (.exe)
        "Analyse Every Move": false,
        "Elo": 1350,
        "Current Template": "Chesscom"
    },
    "Stockfish": {
        "Debug Log File": "",
        "UCI_Chess960": false,
        "Min Split Depth": 0,
        "Threads": 1,
        "Hash": 16
    }
}

Running

Run the run.py file.

python run.py

License

GNU GPLv3

Disclaimer

This application was initially designed for analysing Chess World Cup livestreams and educational purposes. Please don't use this for any unethical reasons. Any damages from abusing this application will not be the responsibility of the author.