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
12
extern
void
Perft
(
int
depth,
S_BOARD
* pos);
13
20
extern
void
PerftTest
(
int
depth,
S_BOARD
* pos);
21
25
extern
long
leafNodes
;
board.h
defs.h
leafNodes
long leafNodes
Global counter for leaf nodes visited during perft.
Definition
perft.cpp:9
PerftTest
void PerftTest(int depth, S_BOARD *pos)
Executes a perft test and prints move breakdown and timing.
Definition
perft.cpp:32
Perft
void Perft(int depth, S_BOARD *pos)
Runs a perft search from a given board state.
Definition
perft.cpp:11
S_BOARD
Definition
defs.h:100
test
perft.h
Generated by
1.14.0