From 322e745ef6078be6c6016cf4d2b0186c97d8a435 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 27 Jul 2026 18:53:55 +0200 Subject: big commit adding bot --- src/repl.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/repl.cpp') 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); } } -- cgit v1.2.3