diff options
Diffstat (limited to 'src/board.rs')
-rw-r--r-- | src/board.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/board.rs b/src/board.rs index 3343702..9ff81b1 100644 --- a/src/board.rs +++ b/src/board.rs @@ -501,7 +501,7 @@ impl Board { self.ply -= 1; } - fn perft(&mut self, depth: u8, print: bool) -> (u64, u64, u64, u64, u64) { + pub fn perft(&mut self, depth: u8, print: bool) -> (u64, u64, u64, u64, u64) { if depth == 0 { return (1, 0, 0, 0, 0) // This a leaf, exactly one node } |