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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Rhiannon, W.: What is Flappy Bird? The game taking the App Store by storm. The Daily Telegraph. January 30 (2014)
ASK for Game Task. https://www.askforgametask.com/tutorial/machine-learning-algorithm-flappy-bird/. Accessed 10 Feb 2019
Kumar, A., Garg, S., Garg, S., Chaudhry, R.: Flappy Bird Game AI using Neural Networks, 1–8 (2016)
Chen, K.: Deep Reinforcement Learning for Flappy Bird. Cs229.Stanford. Edu, 6 (2015). https://doi.org/10.1016/0166-445X(88)90132-4
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
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
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
Nie, Y.: How does a Flappy Bird Learn to Fly Itself How does a Flappy Bird Learn to Fly Itself, August (2017)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Singapore Pte Ltd.
About this paper
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)