aboutsummaryrefslogtreecommitdiff
path: root/src/book.hpp
diff options
context:
space:
mode:
authorAdam <adammegarules1@gmail.com>2026-08-18 12:27:29 +0200
committerAdam <adammegarules1@gmail.com>2026-08-18 12:27:29 +0200
commit56cbe07135f1b235747ea90f7308948fdd08abd0 (patch)
tree61b187eedc541c2e805a9ece2bd5b198e3145b30 /src/book.hpp
parentd2fdbb23bb56d9e06b1f11623c6475e6928f98e1 (diff)
fix(book): making engine turn caslting moves into uci perpesentation only if there is a king
Diffstat (limited to 'src/book.hpp')
-rw-r--r--src/book.hpp3
1 files changed, 2 insertions, 1 deletions
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 <cstdint>
#include <optional>
#include <string>
void InitBook(const std::string &path);
-std::optional<uint16_t> ProbeBook(uint64_t key); \ No newline at end of file
+std::optional<uint16_t> ProbeBook(uint64_t key, const Game &g); \ No newline at end of file