Skip to content

Latest commit

 

History

History
45 lines (35 loc) · 2.43 KB

README.md

File metadata and controls

45 lines (35 loc) · 2.43 KB

Stars Badge Forks Badge Issues Badge Pull Requests Badge

Chess.com Bot

Simple Chess.com bot made in Python with the Chess and Selenium library.

Currently the script will only work on Windows. There are plans to port it over to Linux.

Contents:

Disclosure

  • This project is created purely with educational and research purposes in mind. Please only use this bot to play against the computer. This bot will not work in public matches, and I do not condone cheating thereof.

Requirements

Python Packages

  • This script requires the below packages to run
Packages
chess
pywinauto
selenium

Third Party Binaries

  • Stockfish ----> Move the exe to project folder
  • Chrome Driver ----> Move the exe to project folder and rename as "chromedriver.exe" (if required)

Installation

  • Clone this repository via git clone https://github.com/jsun1590/chess.com-bot.git
  • Install required libraries via pip through the command pip3 install -r requirements.txt --user.
  • Install Third Party Binaries as mentioned above into the src folder.

Usage

  • To use the bot, open main.py and wait until the site has loaded. Press play against computer and click continue until you are at the main game window. Navigate over to your Python window and press any key to start the bot.

forthebadge