Commit 1d32470a authored by Christodoulidis Stergios's avatar Christodoulidis Stergios
Browse files

Student Debug Heros: counting for the case where the bird and the center of...

Student Debug Heros: counting for the case where the bird and the center of the pipe are on the same level y
parent c7297978
......@@ -53,7 +53,7 @@ class TextFlappyBirdEnvSimple(gym.Env):
y_dist_min = -y_dist_max
self.observation_space = gym.spaces.Tuple(
(gym.spaces.Discrete(x_dist_max-x_dist_min),gym.spaces.Discrete(y_dist_max-y_dist_min))
(gym.spaces.Discrete(x_dist_max-x_dist_min+1),gym.spaces.Discrete(y_dist_max-y_dist_min))
)
self._game = None
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment