Skip to content

A visual cheat for playing chess online

License

Notifications You must be signed in to change notification settings

themreza/chess-cheat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chess-Cheat

A tool to cheat at online chess

Launch Chess-Cheat, open your favourite chess website and the tool will dinamically overlay the best move for you.

Example

Install

Prerequisites to install:

Then simply run:

python -m pip install chess-cheat

Usage

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.

Cloning this repo

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:

How it works

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.

Why is the arrow blinking?

Because the image recognition model needs to see the board unobstructed. By making the arrow blink, it has a chance to capture the screen.

About

A visual cheat for playing chess online

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages