def observation(self):
    """Returns the current observation of the game."""
    assert (self._env.state == GameState.game_running or
            self._env.state == GameState.game_done), (
                'reset() must be called before observation()')
    return copy.deepcopy(self._observation)
Returns the current observation of the game.
gfootball/env/football_env_core.py