Launch Chess-Cheat, open your favourite chess website and the tool will dinamically overlay the best move for you.
Prerequisites to install:
Then simply run:
python -m pip install chess-cheat
Launch it as follow:
python -m chess-cheat
How the UI works:
- The switch "White/Black" allows you to tell Chess-Cheat if you are playing white or black.
- The "Board" button allows you to tell Chess-Cheat where the board is on the screen to facilitate recognition.
- The best move foy you is displayed both as an arrow and as a string.
- A green background indicates that it is working correctly.
- A red background indicates that it is not finding the board on the screen.
To successfully clone Chess-Cheat from this repo and execute it you need to run:
git clone https://github.com/GabrieleMaurina/chess-cheat.git
Then install the following dependencies:
- Python 3
- Tensorflow
- Numpy
- Stockfish installed in your system
- Stockfish for python
- Pillow
- Pyscreenshot
- Timeout decorator
Chess-Cheat is based on Tensorflow_Chessbot for recognizing the chessboard on your screen.
It uses Stockfish to compute the best move.
It displays the arrows and the buttons on the screen with Tkinter.
Because the image recognition model needs to see the board unobstructed. By making the arrow blink, it has a chance to capture the screen.