rarick / football

Check out the new game server:
https://research-football.dev
Apache License 2.0
0 stars 0 forks source link

reward shaping progress #21

Closed AdrianaVega97 closed 3 years ago

AdrianaVega97 commented 3 years ago

Reward shaping function : hold ball: zero-sum, +0.001 if team holds the ball('ball_owned_team' = 0), -0.001 if opponent holds the ball('ball_owned_team' = 1). pass: +0.1 for each pass before a goal. This reward is added to scroing reward, because we just want to encourage passing which is helpful for the goal.

Had to modify gfootball core env to pass the actions to the compute reward function