- branch:
checkpoint/03-perft - commit:
5a4b0fc - tag:
checkpoint-03-perft
"Stockfish has perft. We don't have a standard Quoridor table — so we build our own divide and grow depth until we're confident."
engine/src/perft.rs— recursive node counter + divide output- CLI:
titanium perft,titanium divide
cd engine
cargo run --release -- perft 1
cargo run --release -- divide 2Standard correctness depth: 3 → 2_062_264 nodes. Depth 4+ is for stress tests only.
- Perft catches duplicate moves, illegal walls, broken jumps
- Notation:
e2pawn,d2hhorizontal wall at d2
"Cargo bench — proving Rust speed isn't theoretical."