aboutsummaryrefslogtreecommitdiff
path: root/src/repl.cpp
diff options
context:
space:
mode:
authorAdam <adammegarules1@gmail.com>2026-07-27 18:53:55 +0200
committerAdam <adammegarules1@gmail.com>2026-07-27 18:53:55 +0200
commit322e745ef6078be6c6016cf4d2b0186c97d8a435 (patch)
treec8543502771d6c7ddc56018b6d07285e78a53381 /src/repl.cpp
parent178190a723730485c0450552bfdef4ec7c8fac38 (diff)
big commit adding bot
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);
}
}