create var

This commit is contained in:
Mylloon 2023-04-11 15:20:19 +02:00
parent 9a160a5c1e
commit 42ca32f457
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -246,7 +246,8 @@ bool bt_t::mcts_simulation(void) {
// then play randomly 'til the game is over
while (endgame() == EMPTY) {
play(get_rand_move());
bt_move_t m = get_rand_move();
play(m);
}
// if i won