Skip to content

nathanaelluke/ChessBAKEN

Repository files navigation

♞ ChessBAKEN 🥓

A Python-powered chess engine inspired by AlphaGo

About

ChessBAKEN is a chess engine built in Python. It is compatible with UCI GUIs and uses python-chess for move validation and game logic.

Features

  • 🕸️ Neural net powered move selector and position evaluator

  • ✅ UCI compatible

  • ♟️ Plays legal chess moves

Dependencies

pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
pip install python-chess
pip install numpy
pip install PyInstaller

Installation

git clone https://github.com/averyrair/ChessBAKEN
cd ChessBAKEN
python -m PyInstaller --onefile BAKEN.py
cp dist/BAKEN .

Import BAKEN binary as an engine in a UCI compatible GUI or run from the command line! 😀

./BAKEN

Recommended UCI GUI

Arena Chess

Games played by v0.1.3 against Chess.com's Martin Bot

Victory for Martin (White) against BAKEN (Black)

Chess Board

Draw between Martin (Black) and BAKEN (White)

Chess Board

Lichess Account

https://lichess.org/@/ChessBAKEN

Instructions for setting up lichess-bot: https://github.com/lichess-bot-devs/lichess-bot/wiki/How-to-Install

Instructions to play against ChessBAKEN on Lichess

  1. Navigate to your lichess-bot directory
  2. Start up the python virtual environment: source ./venv/bin/activate
  3. Start the bot: python3 lichess-bot.py
  4. Log in to another Lichess account
  5. Go to the ChessBAKEN account and challenge it to a game

About

Neural network powered chess engine

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors