aboutsummaryrefslogtreecommitdiff
path: root/src/uci.cpp
diff options
context:
space:
mode:
authorAdam <adammegarules1@gmail.com>2026-07-31 13:22:11 +0200
committerAdam <adammegarules1@gmail.com>2026-07-31 13:22:11 +0200
commit2d148023f02056916fa5b88f567e09e6ba1a2915 (patch)
treeb7ac743f384a604061dfe25b8ac7180254e4960f /src/uci.cpp
parent6af6acefdece08bb786640f5f3e9618ae04881da (diff)
making it be mode ready
Diffstat (limited to 'src/uci.cpp')
-rw-r--r--src/uci.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/uci.cpp b/src/uci.cpp
index 818da90..89d28dd 100644
--- a/src/uci.cpp
+++ b/src/uci.cpp
@@ -2,6 +2,7 @@
#include "board/board.hpp"
#include "board/fen.hpp"
#include "bot.hpp"
+#include "misc.hpp"
#include "moves.hpp"
#include "zobrist/zobrist.hpp"
@@ -103,6 +104,7 @@ void Uci() {
}
}
if (cmd == "uci") {
+ cout << "id name " << engine_version() << "\n";
cout << "uciok\n";
cout.flush();
} else if (cmd == "ucinewgame") {