Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 863 Bytes

File metadata and controls

17 lines (11 loc) · 863 Bytes

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