aboutsummaryrefslogtreecommitdiff
path: root/src/uci.cpp
diff options
context:
space:
mode:
authorAdam <adammegarules1@gmail.com>2026-07-28 09:07:25 +0200
committerAdam <adammegarules1@gmail.com>2026-07-28 09:07:25 +0200
commitbb42f7d438c088b18e953e38cb07d0cdf25f749a (patch)
treedb358c35d178ea3f29e1f8ee5c399009bdb3bae0 /src/uci.cpp
parentab198bd13a44344989c34ee1fda1e56fa00cbe1f (diff)
removing the logging from uci
Diffstat (limited to 'src/uci.cpp')
-rw-r--r--src/uci.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/uci.cpp b/src/uci.cpp
index d436cb1..4825ece 100644
--- a/src/uci.cpp
+++ b/src/uci.cpp
@@ -87,6 +87,9 @@ void Uci() {
if (cmd == "uci") {
cout << "uciok\n";
cout.flush();
+ } else if (cmd == "ucinewgame") {
+ game =
+ initBoard("rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1");
} else if (cmd == "isready") {
cout << "readyok\n";
cout.flush();