Skip to content

A python chess bot that beat Komodo 17 (2100) and Fairy Stockfish 6 (~2100), and has 2096 rating in 10+0 rapid on chess.com

License

Notifications You must be signed in to change notification settings

BlueTot/bluebot-chess-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bluebot Chess Engine

A ~2000 rated classical minimax chess engine written in python that started out of a tutorial. It used to play on chess.com as BlueBotChessTest4 with a peak rating of 2096 in 10+0 rapid, and it won against Komodo 17 (2100) on chess.com and Fairy Stockfish 6 (~2100) on lichess in 10+0 rapid.

Installation / Downloading

First, clone the repository

git clone https://github.com/BlueTot/bluetot-chess-engine

Install PyPy if you don't have it already (these instructions are for linux, search online for how to install on other OS's)

wget https://downloads.python.org/pypy/pypy3.10-v7.3.15-linux64.tar.bz2
tar -xvf pypy3.10-v7.3.15-linux64.tar.bz2
sudo mv pypy3.10-v7.3.15-linux64 /opt/pypy3.10
sudo ln -s /opt/pypy3.10/bin/pypy3 /usr/local/bin/pypy3

Install Pip for PyPy and install the chess library

pypy3 -m ensurepip
pypy3 -m pip install --upgrade pip
pypy3 -m pip install python-chess

Lastly, run the engine, and have fun!

cd bluebot-chess-engine
pypy3 main.py

Features

Latest version: v0.36

Main features:

  • Depth 6 alpha-beta negamax search
  • Quiescence search
  • Simple material evaluation function
  • Simple move ordering based on evaluation function
  • Null move pruning
  • Transposition table with principal variation move ordering
  • Iterative deepening
  • Killer heuristic move ordering
  • Aspiration windows

Also...

Feel free to use this engine however you want! If you get banned for cheating using this program on a public website (chess.com, lichess) it is your fault!

About

A python chess bot that beat Komodo 17 (2100) and Fairy Stockfish 6 (~2100), and has 2096 rating in 10+0 rapid on chess.com

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages