minor fix
This commit is contained in:
parent
a5abe39aa4
commit
0274f44647
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user