Add perft section to readme #19

Merged
Josh merged 2 commits from add-perft-to-readme into main 2025-08-20 01:23:55 +00:00
Showing only changes of commit 45a88aa79a - Show all commits

View File

@@ -31,7 +31,7 @@ FEN is a single line string that describes a chess position. Format:
# Perft Testing A Chess Engine # Perft Testing A Chess Engine
**Perft** (“performance test”) walks the move tree *without move evaluation* and counts nodes at certain depths in the tree. Its a standard way to verify an engine's **move generation + make/unmake (or make-on-copy)** are correct. The important to understand that the node counts have been generated and verified by the chess programming community, meaning that these counts are a reliable reference point for a chess engine to match against. **Perft** (“performance test”) walks the move tree *without move evaluation* and counts nodes at certain depths in the tree. Its a standard way to verify an engine's **move generation + make/unmake (or make-on-copy)** are correct. It's important to understand that the node counts have been generated and verified by the chess programming community, meaning that these counts are a reliable reference point for a chess engine to match against.
## What perft checks ## What perft checks
- **Legality filtering:** no moves that leave your own king in check. - **Legality filtering:** no moves that leave your own king in check.