diff options
| author | Adam <adammegarules1@gmail.com> | 2026-08-18 12:27:29 +0200 |
|---|---|---|
| committer | Adam <adammegarules1@gmail.com> | 2026-08-18 12:27:29 +0200 |
| commit | 56cbe07135f1b235747ea90f7308948fdd08abd0 (patch) | |
| tree | 61b187eedc541c2e805a9ece2bd5b198e3145b30 /src/book.hpp | |
| parent | d2fdbb23bb56d9e06b1f11623c6475e6928f98e1 (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.hpp | 3 |
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 |
