diff options
Diffstat (limited to 'src/uci.cpp')
| -rw-r--r-- | src/uci.cpp | 2 |
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") { |
