diff --git a/TP2/src/mybt.cpp b/TP2/src/mybt.cpp index f7f859e..9ccb9f8 100644 --- a/TP2/src/mybt.cpp +++ b/TP2/src/mybt.cpp @@ -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