diff options
| author | Adam <adammegarules1@gmail.com> | 2026-08-15 17:01:54 +0200 |
|---|---|---|
| committer | Adam <adammegarules1@gmail.com> | 2026-08-15 17:01:54 +0200 |
| commit | 4eb36e67eca586a662298bfe8cc5392fbfa698e0 (patch) | |
| tree | 6c232d59d1566377fbaeec035f4f799618f63421 /src/bot.hpp | |
| parent | c1d6113da12bfbe92ae718d93dd56e25556e52cb (diff) | |
implementing memory optimazied move using uint16_t instead of a four integers and one byte
Diffstat (limited to 'src/bot.hpp')
| -rw-r--r-- | src/bot.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
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 <cstdint> 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_ */ |
