Skip to content

A sub-window GUI for Stockfish. (Contributions are welcomed, but I might won't touch this any sooner)

License

Notifications You must be signed in to change notification settings

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.

Features

New feature (v1.0.0):

  • Project is uploaded to PyPI. Now you can pip install it!

  • Hovering on cropping canvas now show your mouse's location.

features_12

  • Sorry O.P & I.P points, I'm not even angry over you right now. I bear no grudge against anyone. It's just that the world feels so, so wonderful right now. Throughout Heaven and Earth, I choose to learn PyTorch myself.

For old features, visit Change Log.


Installing

I've grown up and made a PyPI for you guys!

pip3 install chessai-stockfish

But above is default edition, which mean training features are not allowed yet. If you want the full edition, visit TRAINING.md.


Set up Stockfish

Go to download page and install Stockfish that support your device.

After that, let's start our ChessAI.

chessai

Because of first use, it will ask for Stockfish's path.

Cannot find setting.json file. Start create new one.
Please paste in path to stockfish:
>> (your path goes here)

But you use Venv/Conda/Docker/...?

Go to your ChessAI directory (where chessai.cmd is stored).

cd ...

Then find your OS below.

For Unix

chmod a+x chessai.cmd
echo 'export chessai_path=$PWD
export PATH=$chessai_path:$PATH' >> ~/.bash_profile
source ~/.bash_profile

For Window

powershell $old_path = [Environment]::GetEnvironmentVariable('path', 'user'); $new_path = $old_path + ';' + $PWD; [Environment]::SetEnvironmentVariable('path', $new_path,'User');

Notice: Don't forget to configurate chessai.cmd file to fit your needs.


Running

Use chessai.

chessai

If you are using Unix and currently not in the environment where ChessAI is stored, use chessai.cmd.


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.

About

A sub-window GUI for Stockfish. (Contributions are welcomed, but I might won't touch this any sooner)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published