cleanup
This commit is contained in:
parent
343a6e8cf0
commit
88d7ffa571
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ bool bt_t::mcts_simulation(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// if i won
|
// 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) {
|
void bt_t::mcts_back_propagation(bt_node_t *simulated, bool won) {
|
||||||
|
|
Reference in a new issue