Skip to content

Hybrid chess engine inspired by AlphaZero and Lc0. Trained on Stockfish evaluations from lichess anti-cheat system. Usess CNNs as policy and evaluation functions.

Notifications You must be signed in to change notification settings

Rigos0/ChessEngine

Repository files navigation

Hybrid Chess Engine

My 2019 NEA project: a hybrid chess engine using CNNs as policy and value functions. Trained on Stockfish evaluations from lichess anti-cheat system. Inspired by AlphaZero and Lc0. Three search algorithms implemented - custom MCTS, minimax and custom 'U-search' algorithm.

Write-up: [Google doc link]

Setup:

  1. Create virtual environment: uv venv
  2. Activate virtual environment: source .venv/bin/activate (Linux/macOS) or .venv\Scripts\activate (Windows)
  3. Install dependencies: uv pip install -r pyproject.toml

Run:

python main.py

About

Hybrid chess engine inspired by AlphaZero and Lc0. Trained on Stockfish evaluations from lichess anti-cheat system. Usess CNNs as policy and evaluation functions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages