From 56cbe07135f1b235747ea90f7308948fdd08abd0 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 18 Aug 2026 12:27:29 +0200 Subject: fix(book): making engine turn caslting moves into uci perpesentation only if there is a king --- src/book.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/book.hpp') diff --git a/src/book.hpp b/src/book.hpp index bc08782..4b0eb88 100644 --- a/src/book.hpp +++ b/src/book.hpp @@ -1,7 +1,8 @@ #pragma once +#include "board/board.hpp" #include #include #include void InitBook(const std::string &path); -std::optional ProbeBook(uint64_t key); \ No newline at end of file +std::optional ProbeBook(uint64_t key, const Game &g); \ No newline at end of file -- cgit v1.2.3