aboutsummaryrefslogtreecommitdiff
path: root/src/uci.hpp
diff options
context:
space:
mode:
authorAdam <adammegarules1@gmail.com>2026-08-15 17:01:54 +0200
committerAdam <adammegarules1@gmail.com>2026-08-15 17:01:54 +0200
commit4eb36e67eca586a662298bfe8cc5392fbfa698e0 (patch)
tree6c232d59d1566377fbaeec035f4f799618f63421 /src/uci.hpp
parentc1d6113da12bfbe92ae718d93dd56e25556e52cb (diff)
implementing memory optimazied move using uint16_t instead of a four integers and one byte
Diffstat (limited to 'src/uci.hpp')
-rw-r--r--src/uci.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/uci.hpp b/src/uci.hpp
index 19fd021..ba2a56c 100644
--- a/src/uci.hpp
+++ b/src/uci.hpp
@@ -2,10 +2,11 @@
#define SRC_UCI_H_
#include "board/board.hpp"
+#include <cstdint>
#include <string>
#include <unordered_map>
-Move UciToMove(const std::string &uci);
+uint16_t UciToMove(const std::string &uci);
void Uci();
Game initBoard(
const std::string &startingFEN,