From 4eb36e67eca586a662298bfe8cc5392fbfa698e0 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 15 Aug 2026 17:01:54 +0200 Subject: implementing memory optimazied move using uint16_t instead of a four integers and one byte --- src/bot.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/bot.hpp') diff --git a/src/bot.hpp b/src/bot.hpp index 9f97e2c..907554d 100644 --- a/src/bot.hpp +++ b/src/bot.hpp @@ -2,6 +2,7 @@ #define SRC_BOT_H_ #include "board/board.hpp" +#include struct move_options { int wtime; @@ -10,6 +11,6 @@ struct move_options { int bncr; }; -Move GetBestMove(Game *b, int depth, move_options options); +uint16_t GetBestMove(Game *b, int depth, move_options options); #endif /* SRC_BOT_H_ */ -- cgit v1.2.3