aboutsummaryrefslogtreecommitdiff
path: root/src/uci.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/uci.cpp')
-rw-r--r--src/uci.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/uci.cpp b/src/uci.cpp
index 42be55d..6f0e5e6 100644
--- a/src/uci.cpp
+++ b/src/uci.cpp
@@ -156,7 +156,7 @@ void Uci() {
while (ss >> token) {
Move move = UciToMove(token);
- PlayMove(move, &game);
+ MakeMove(move, &game);
}
}
}
@@ -196,7 +196,7 @@ int startREPL() {
if (b->state == TURN) {
if (true) {
Move move = EngineGetBestMove(b);
- PlayMove(move, b);
+ MakeMove(move, b);
printBoard(b);
continue;
}
@@ -286,7 +286,7 @@ int startREPL() {
continue;
}
std::println();
- PlayMove(move, b);
+ MakeMove(move, b);
printBoard(b);
}
}