Skip to main content

Performance Analysis of Flappy Bird Playing Agent Using Neural Network and Genetic Algorithm

  • Conference paper
  • First Online:
Information, Communication and Computing Technology (ICICCT 2019)

Abstract

The aim of this paper is to develop and study an artificial intelligence based game-playing agent using genetic algorithm and neural networks. We first create an agent which learns how to optimally play the famous “Flappy Bird” game by safely dodging all the barriers and flapping its way through them and then study the effect of changing various parameters like number of neurons on the hidden layer, gravity, speed, gap between trees has on the learning process. The gameplay was divided into two level of difficulty to facilitate study on the learning process. Phaser Framework was used to facilitate HTML5 programming for introducing real-life factors like gravity, collision and Synaptic Neural Network library was used to implement neural network so as to avoid creating a neural network from scratch. Machine Learning Algorithm which we have adopted in this project is based on the concept of Neuro-Evolution and this form of machine learning uses algorithms which can evolve and mature over time such as a genetic algorithm to train artificial neural networks.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Rhiannon, W.: What is Flappy Bird? The game taking the App Store by storm. The Daily Telegraph. January 30 (2014)

    Google Scholar 

  2. ASK for Game Task. https://www.askforgametask.com/tutorial/machine-learning-algorithm-flappy-bird/. Accessed 10 Feb 2019

  3. Kumar, A., Garg, S., Garg, S., Chaudhry, R.: Flappy Bird Game AI using Neural Networks, 1–8 (2016)

    Google Scholar 

  4. Chen, K.: Deep Reinforcement Learning for Flappy Bird. Cs229.Stanford. Edu, 6 (2015). https://doi.org/10.1016/0166-445X(88)90132-4

    Article  Google Scholar 

  5. Sahin, A., Atici, E., Kumbasar, T.: Type-2 fuzzified flappy bird control system. In: 2016 IEEE International Conference on Fuzzy Systems, FUZZ-IEEE 2016, pp. 1578–1583 (2016). https://doi.org/10.1109/FUZZ-IEEE.2016.7737878

  6. Lucas, S.M., Kendall, G.: Evolutionary computation and games. IEEE Comput. Intell. Mag. 1(1), 10–18 (2006). https://doi.org/10.1109/MCI.2006.1597057

    Article  Google Scholar 

  7. Sipper, M., Giacobini, M.: Introduction to special section on evolutionary computation in games. Genet. Program Evolvable Mach. 9(4), 279–280 (2008). https://doi.org/10.1007/s10710-008-9066-x

    Article  Google Scholar 

  8. Nie, Y.: How does a Flappy Bird Learn to Fly Itself How does a Flappy Bird Learn to Fly Itself, August (2017)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Yash Mishra .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Mishra, Y., Kumawat, V., Selvakumar, K. (2019). Performance Analysis of Flappy Bird Playing Agent Using Neural Network and Genetic Algorithm. In: Gani, A., Das, P., Kharb, L., Chahal, D. (eds) Information, Communication and Computing Technology. ICICCT 2019. Communications in Computer and Information Science, vol 1025. Springer, Singapore. https://doi.org/10.1007/978-981-15-1384-8_21

Download citation

  • DOI: https://doi.org/10.1007/978-981-15-1384-8_21

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-15-1383-1

  • Online ISBN: 978-981-15-1384-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics