Files
JoshHeaps.Net/native/chess_engine/src/perft.h
T
2026-06-08 13:58:22 -06:00

15 lines
317 B
C++

// Perft: counts the leaf nodes of the legal move tree to a given depth.
// The standard correctness test for move generation + make/unmake.
#ifndef CHESS_PERFT_H
#define CHESS_PERFT_H
#include "position.h"
namespace chess {
uint64_t perft(Position& pos, int depth);
} // namespace chess
#endif // CHESS_PERFT_H