Chess Engine
C++ chess engine with movegen, bitboards, and Arduino-friendly docs
Loading...
Searching...
No Matches
perft.h
Go to the documentation of this file.
1#pragma once
2
3#include "../defs.h"
4#include "../board/board.h"
5
12extern void Perft(int depth, S_BOARD* pos);
13
20extern void PerftTest(int depth, S_BOARD* pos);
21
25extern long leafNodes;
long leafNodes
Global counter for leaf nodes visited during perft.
Definition perft.cpp:9
void PerftTest(int depth, S_BOARD *pos)
Executes a perft test and prints move breakdown and timing.
Definition perft.cpp:32
void Perft(int depth, S_BOARD *pos)
Runs a perft search from a given board state.
Definition perft.cpp:11