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)
- Install Python
You can install it here Python. Don't forget to tick (Add Python to PATH)
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. - 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
- Install Firefox
To use this script you will need a browser Mozilla Firefox.
Setting up
- 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. - 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).
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
- First Commit
project published. - 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 - V3 Commit
Fixed being stuck looking for new matches.
Fixed a stuck in skip aborted match.
Automatically accept the challenge (rematch). - 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. - 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:
- StockFish
- ChessBot Linux
- VIP-Spuc3ngine
Disclaimer
This is purely for educational purposes, I am not responsible for misuse of the script.