create var
This commit is contained in:
parent
9a160a5c1e
commit
42ca32f457
1 changed files with 2 additions and 1 deletions
|
@ -246,7 +246,8 @@ bool bt_t::mcts_simulation(void) {
|
||||||
|
|
||||||
// then play randomly 'til the game is over
|
// then play randomly 'til the game is over
|
||||||
while (endgame() == EMPTY) {
|
while (endgame() == EMPTY) {
|
||||||
play(get_rand_move());
|
bt_move_t m = get_rand_move();
|
||||||
|
play(m);
|
||||||
}
|
}
|
||||||
|
|
||||||
// if i won
|
// if i won
|
||||||
|
|
Reference in a new issue