Giter Site home page Giter Site logo

chess-auto-bot's Introduction

chess-auto-bot

A bot for chess.com and lichess.org that automatically plays chess for you

Chess.com

Lichess.org

Note that the mouse is being moved by python

How to install

  1. Clone the repository or just download the repository as a .zip
  2. Download Stockfish from https://stockfishchess.org/
    Note that on Linux systems you must manually add execute permissions to the stockfish executable
  3. Open a Terminal
  4. cd chess-auto-bot
  5. Windows: python -m venv venv
    Linux: python3 -m venv venv
  6. Windows: venv\Scripts\pip.exe install -r requirements.txt
    Linux: venv/bin/pip3 install -r requirements.txt

How to use

  1. Open a Terminal
  2. cd chess-auto-bot
  3. Windows: venv\Scripts\python.exe src\gui.py
    Linux: venv/bin/python3 src/gui.py
  4. Click Select Stockfish on the GUI that opens. This will open a file explorer. Navigate to the folder where you downloaded Stockfish and select the Stockfish executable.
  5. Click Open Browser. This will open ChromeDriver and load the selected chess website.
  6. Navigate to a live match (online or vs bot)
  7. Click Start (or press 1)
  8. Enjoy

Note You can stop the bot at any time by pressing Stop or pressing 2.

Currently supports

  • Windows/Linux platforms
  • Chess.com
  • Lichess.org
  • Playing vs humans
  • Playing vs bots
  • Puzzles (with option for non-stop solving):
    • chess.com
    • lichess.org
  • Manual mode (Press or hold 3 to move when enabled)
    An arrow with the best move is also displayed
  • Mouseless mode (The moves are made without the mouse moving, also works while the browser is at the background):
    • chess.com
    • lichess.org
  • Bongcloud mode ( ͡° ͜ʖ ͡° )
  • Skill level selection (0-20)
  • Depth level selection (1-20)
  • Memory (RAM) usage selection
  • CPU threads number selection
  • Slow Mover option (defaults to 100, 10 ≤ Slow Mover ≤ 1000)
    lower values will make Stockfish take less time in games, higher values will make it think longer
  • Exporting finished games to PGN

Disclaimer

Under no circumstances should you use this bot to cheat in online games or tournaments. This bot was made for educational purposes only. Using this bot to cheat in online games or tournaments is against the rules of chess.com and will result in a ban.

chess-auto-bot's People

Contributors

panagiotisiatrou avatar xheaven avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.