Skip to content

kraten/chessbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChessBot

Python chess bot that plays chess online on chess.com using Stockfish Engine

  • Compatible with Python 3

Getting Started

  1. Install python3

  2. Install python dependencies: pip install -r requirements.txt

  3. Selenium requires a driver to interface with the chosen browser. Firefox, for example, requires geckodriver, which needs to be installed before the below examples can be run. Make sure it’s in your PATH, e. g., place it in /usr/bin or /usr/local/bin. Download geckodriver here.


Running ChessBot

  • Python 3:
    python3 chessbot.py


Note: Before running ChessBot, enable the premove and auto-queen option in chess.com settings. If ChessBot is running slow on your computer, lower the number of threads for stockfish engine.


Disclaimer

The code for this project is written with goodwill and not to harm anyone. This is purely for educational purposes. I am not responsible or take liability for the consequences of anyone using this code.

CAUTION: Use it on your own risk, as using ChessBot could get you banned.

About

A python chess bot that plays chess online!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages