Enhancing Flappy Bird Performance With Q-Learning and DQN Strategies
DOI:
https://doi.org/10.54097/qrded191Keywords:
Q-Learning; DQN; Flappy Bird.Abstract
Flappy Bird, a classic single-player game, boasts a deceptively simple premise yet proves to be a formidable challenge in achieving high scores. Various algorithms have been employed to improve its performance, yet a comprehensive assessment of Q-Learning and Deep Q-Network (DQN) in the context of this game remains elusive. This study undertakes the task of training Flappy Bird using both Q-Learning and DQN methodologies, showcasing the potency of reinforcement learning within the realm of gaming. Through meticulous comparisons and analyses, the paper uncovers the inherent strengths and weaknesses embedded within these algorithms. This exploration not only fosters a nuanced grasp of Q-Learning and DQN but does so by leveraging a simplistic gaming environment as the proving ground. Strikingly, the experimental results unveil an initial disadvantage for DQN during training, followed by a rapid surge in performance surpassing Q-Learning in mid-training. Conversely, Q-Learning demonstrates an aptitude for swiftly reaching its performance zenith. Both algorithms tout distinct merits: Q-Learning's adeptness in simpler tasks and DQN's reliability in tackling complex states. In conclusion, this study not only discerns algorithmic prowess but lays a foundational framework for broader application across diverse gaming scenarios. By delving into the nuances of Q-Learning and DQN, the paper establishes a clearer path for harnessing the advantages in shaping the future landscape of game optimization.
Downloads
References
J Gu, Y Guo, Y Lam, et al. Flappy Bird Game Based on the Deep Q Learning Neural Network[J]. Highlights in Science, Engineering and Technology, 2023, 34: 191-195.
V Mnih, et al. Human-level control through deep reinforcement learning[J]. nature, 2015, 518(7540): 529-533.
R S Sutton, A G Barto. Reinforcement learning: An introduction[M]. MIT press, 2018.
C J C H Watkins, P Dayan. Q-learning[J]. Machine learning, 1992, 8: 279-292.
V Mnih, et al. Playing atari with deep reinforcement learning[J]. arXiv preprint arXiv:1312.5602, 2013.
T Vu, L Tran. FlapAI bird: training an agent to play flappy bird using reinforcement learning techniques[J]. arXiv preprint arXiv:2003.09579, 2020.
K Chen. Deep reinforcement learning for flappy bird[J]. CS 229 Machine-Learning Final Projects, 2015.
C Argueta, A Chow, C Lomeli. Deep Reinforcement Learning and Transfer Learning with FlappyBird[J]. Machine learning, 1992, 8(4): 279-292.
M Ebeling-Rump, M Kao, Z Hervieux-Moore. Applying q-learning to flappy bird[J]. Department Of Mathematics And Statistics, Queen’s University, 2016.
L S Pilcer, A Hoorelbeke, A D Andigne. Playing Flappy Bird with Deep Reinforcement Learning [C][J]. IEEE Transactions on Neural Networks, 2015, 16(1): 285-286.
Downloads
Published
Issue
Section
License
Copyright (c) 2024 Highlights in Science, Engineering and Technology

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.







