ntasfi / PyGame-Learning-Environment

PyGame Learning Environment (PLE) -- Reinforcement Learning Environment in Python.
MIT License
1.01k stars 231 forks source link

Fixed bug in flappy bird #29

Closed evaldsurtans closed 7 years ago

evaldsurtans commented 7 years ago

It really messed up my research with DQN RL variations, because it is possible to bypass pipe over the screen.

See screenshot: http://www.evernote.com/l/AClrdjOMAFBLSLm1-ZvYqa-63AOtriZ9NoI/ This state gives reward = 1.0 (notice bird partially over pipe)

player height 24, but it is enough to be at position -20 to bypass pipe.

Can you please give me rights to push patch to repo? I am planning to work with your repo and I could find more bugs.

ntasfi commented 7 years ago

Thanks for the PR.

Submit PR's, I will review and merge them. Ty!