bot train burnrl reward opponent

This commit is contained in:
Henri Bourcereau 2026-01-03 18:28:05 +01:00
parent 883ebf9bc1
commit 1e773671d9
5 changed files with 20 additions and 9 deletions

View file

@ -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;