Skip to content

alishobeiri/Google-Research-Football-Submission

Repository files navigation

gfootball

RL training framework and notebooks for the Google Research Football Kaggle Competion. Final ranked position: 300/1138 (Top 27%)

Important information

  • Install GRF: Ref
  • Observations Ref
  • Actions Ref
  • Important coordinates for the Field
    • Bottom left/right corner of the field is located at [-1, 0.42] and [1, 0.42], respectively.
    • Top left/right corner of the field is located at [-1, -0.42] and [1, -0.42], respectively.
    • Left/right goal is located at -1 and 1 X coordinate, respectively. They span between -0.044 and 0.044 in Y coordinates.
  • Expected Goals Paper
    • y = 0.377 - 0.159 * (distance) - 0.022 * (angle) + 0.799 * (space)
    • "From this equation it is possible to estimate the probability of a shot scoring, based on its location (quantified by distance in yards and angle in degrees) and by whether or not the person taking the shot had space (quantified by 0 if there was an opponent within one metre, and 1 if not)."
    • Paper
    • Paper

Helper Function

  • Closest Player
  • Distance to Entity
  • Angle to Entity
  • Check if opponent is in the way of the pass
  • Return direction to an entity
  • Expected Goal
  • Check sticky array for activated actions