Skip to content

tinwaninja/Catur

Repository files navigation

Bot Auto Chess.com

Is a suggestion for chess moves on the chess.com platform. The available features are: chess suggestions and moves automatically.

installation (Windows)

  1. Install Python
    You can install it here Python. Don't forget to tick (Add Python to PATH) Install Python
    To check that Python has been successfully installed, open CMD and type "python", if python is run successfully then Python is successfully installed, but if directed to the Windows Store please solve it by following the advice from stackoverflow.
  2. Clone Repository
    Install Git in Windows, then run the command below:
cd C:\Users\USERNAMEWINDOWS\Desktop
git clone https://github.com/tinwaninja/Catur.git
cd Catur
pip install -r requirements.txt
  1. Install Firefox
    To use this script you will need a browser Mozilla Firefox.

Setting up

  1. Create an account
    Create an account on chess.com, by registering mode beginner.
    It is recommended to create a username with 5 words and 2 numbers, for example: abcde11
    Confirm registration email.
  2. Enter Credentials
    Open the file C:\Users\USERNAMEWINDOWS\Desktop\Catur\akun.txt
    Change your username and password credentials.

Start

Open CMD (Administrator mode recommended), then run the command:

cd C:\Users\USERNAMEWINDOWS\Desktop\Catur
python catur.py

The script will automatically open Mozilla Firefox and automatically login based on existing credentials.
Next, start the match (Live Match). Auto Chess

Additional

You can change the movement speed of chess moves by changing the value of the mode in the catur.py script on line 19 with the value 'bullet', 'blitz', or 'rapid'.
If you want to find automatic live matches, change the config.ini file and change autostart = 0 to autostart = 1.

Update

  1. First Commit
    project published.
  2. V2 Commit
    automatically run the pawn (if it gets white).
    add mode, mode there are 3 options, namely: bullet, blitz, rapid. bullet for quick-paced 1-minute matches, blitz for 3-5-minute matches, rapid for 10-minute matches.
    increase the delay, if the game is early then the delay is with a small time value, if it is in the middle of the game then the delay will be a choice of time with a small and medium value
  3. V3 Commit
    Fixed being stuck looking for new matches.
    Fixed a stuck in skip aborted match.
    Automatically accept the challenge (rematch).
  4. V4 Commit
    Skip requests for rematch in the match if your opponent is too weak (unbalanced).
    Skip rematch requests if you lost in the previous match.
    Accept the challenge if the player against the chess match.
  5. V5 Commit
    Automatically takes the pawn promotion to queen. (Private in the catur.py script on line 144)

Thanks

This script is made from libraries and fixes existing scripts. In developing this script I am very grateful to:

  1. StockFish
  2. ChessBot Linux
  3. VIP-Spuc3ngine

Disclaimer

This is purely for educational purposes, I am not responsible for misuse of the script.

About

Bot Auto Chess.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages