bot train burnrl reward opponent
This commit is contained in:
parent
883ebf9bc1
commit
1e773671d9
5 changed files with 20 additions and 9 deletions
|
|
@ -742,6 +742,10 @@ impl GameState {
|
|||
});
|
||||
}
|
||||
|
||||
pub fn mark_points_for_bot_training(&mut self, player_id: PlayerId, points: u8) -> bool {
|
||||
self.mark_points(player_id, points)
|
||||
}
|
||||
|
||||
fn mark_points(&mut self, player_id: PlayerId, points: u8) -> bool {
|
||||
// Update player points and holes
|
||||
let mut new_hole = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue