diff options
| author | Adam <adammegarules1@gmail.com> | 2026-07-28 15:14:27 +0200 |
|---|---|---|
| committer | Adam <adammegarules1@gmail.com> | 2026-07-28 15:14:27 +0200 |
| commit | 8bad9b3bff87d63cb4bfa1c7ae4b974c5fd46f95 (patch) | |
| tree | a3b83b87d67b6e32ba6c7a18d056478f9e3f5c70 /src/uci.cpp | |
| parent | 63b9e2cb8451d4491c3ba7e4fdb3e0eca363bd4b (diff) | |
optimazing
Diffstat (limited to 'src/uci.cpp')
| -rw-r--r-- | src/uci.cpp | 6 |
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); } } |
