From 8bad9b3bff87d63cb4bfa1c7ae4b974c5fd46f95 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 28 Jul 2026 15:14:27 +0200 Subject: optimazing --- src/uci.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/uci.cpp') 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); } } -- cgit v1.2.3