aboutsummaryrefslogtreecommitdiff
path: root/src/repl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/repl.cpp')
-rw-r--r--src/repl.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/repl.cpp b/src/repl.cpp
index ce545d1..b936af0 100644
--- a/src/repl.cpp
+++ b/src/repl.cpp
@@ -53,10 +53,9 @@ int startREPL(Board *b) {
return 0;
}
if (b->state == TURN) {
- if (b->turn == false) {
+ if (true) {
Move move = EngineGetBestMove(b);
PlayMove(move, b);
- b->turn = !b->turn;
printBoard(b);
continue;
}
@@ -147,7 +146,6 @@ int startREPL(Board *b) {
}
std::println();
PlayMove(move, b);
- b->turn = !b->turn;
printBoard(b);
}
}