yenchenlin / DeepLearningFlappyBird

Flappy Bird hack using Deep Reinforcement Learning (Deep Q-learning).
MIT License
6.65k stars 2.04k forks source link

Fix deep_q_network input last 4 images bug #12

Closed yenchenlin closed 8 years ago

yenchenlin commented 8 years ago

Original code here append the newest frame and the initial 3 frames which is not game's last 4 frames. This PR fix this and retrain result in a better model.