Chess engine, in Rust.
contrib | ||
src | ||
tests | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
LICENSE | ||
README.md |
chess-inator
A chess engine.
Features:
- Negamax search
- Alpha-beta pruning
- Piece-square tables
- Tapered midgame-endgame evaluation
- UCI compatibility
- Iterative deepening
- Time management
- Transposition table (Zobrist hashing)
- Quiescence search
instructions
To run the engine (in UCI mode):
cargo run --release
Quick unit tests:
cargo test
Longer duration, more rigorous tests:
cargo test --release
Flamegraph (on perft):
export CARGO_PROFILE_RELEASE_DEBUG true
cargo flamegraph --test perft