minor fix

This commit is contained in:
Karma Riuk 2025-02-06 23:46:00 +01:00
parent a5abe39aa4
commit 0274f44647

View File

@ -14,7 +14,7 @@ void AIvsAIController::start() {
ai::AI* current_player; ai::AI* current_player;
while (!board.is_terminal()) { while (!board.is_terminal()) {
current_player = board.white_to_play ? &p1 : &p2; current_player = board.white_to_play ? &p1 : &p2;
Move move = current_player->search(board, board.white_to_play); Move move = current_player->search(board);
make_move(move); make_move(move);
} }