This commit is contained in:
Mylloon 2023-03-31 16:45:12 +02:00
parent 343a6e8cf0
commit 88d7ffa571
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -250,7 +250,7 @@ bool bt_t::mcts_simulation(void) {
}
// if i won
return ((turn % 2 == 0) ? WHITE : BLACK) == me ? true : false;
return ((turn % 2 == 0) ? WHITE : BLACK) == me;
}
void bt_t::mcts_back_propagation(bt_node_t *simulated, bool won) {