Rust Chess Engine

Rust Chess Engine is a single-threaded UCI and command-line chess engine written in Rust (2021 edition) with no external crates.

Board state uses twelve u64 piece bitboards alongside a 64-square mailbox, incremental Zobrist hashing, and precomputed software-PEXT rook and bishop tables so sliding-piece lookups stay fast on CPUs without hardware BMI2 support. Fast make/unmake move generation is checked in tests against a separate copy-make generator across all 119,060,324 nodes of starting-position perft(6).

On top of move generation, the search runs iterative deepening with aspiration windows, Principal Variation Search (PVS), quiescence search, transposition-table mate score adjustment, MVV-LVA and static exchange evaluation (SEE), killer and history move ordering, late move reductions, and tapered middlegame/endgame evaluation.

Read Testing move generation first in a Rust chess engine or see the repository on GitHub.


Linked mentions