mirrors for open_spiel
This commit is contained in:
parent
47142d593f
commit
d53b65c947
7 changed files with 164 additions and 30 deletions
|
|
@ -71,7 +71,7 @@ impl Bot {
|
|||
debug!(">>>> {:?} BOT handle", self.color);
|
||||
let game = self.strategy.get_mut_game();
|
||||
let internal_event = if self.color == Color::Black {
|
||||
&event.get_mirror()
|
||||
&event.get_mirror(false)
|
||||
} else {
|
||||
event
|
||||
};
|
||||
|
|
@ -126,7 +126,7 @@ impl Bot {
|
|||
return if self.color == Color::Black {
|
||||
debug!(" bot (internal) evt : {internal_event:?} ; points : {player_points:?}");
|
||||
debug!("<<<< end {:?} BOT handle", self.color);
|
||||
internal_event.map(|evt| evt.get_mirror())
|
||||
internal_event.map(|evt| evt.get_mirror(false))
|
||||
} else {
|
||||
debug!("<<<< end {:?} BOT handle", self.color);
|
||||
internal_event
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue