Skip to content

Recreation of the viral game Flappy Bird in Pygame with the NEAT algorithm applied to observe genetic algorithms in action

Notifications You must be signed in to change notification settings

CoDeReD72/FlappyBirdAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FlappyBirdAI

A Python program mimicking the popular game Flappy Bird and implementing a neural network allowing the network to train and play the game (nearly) perfectly.

Screenshot of Generation 0

Evaluation & Future Work

This project allowed a more in-depth use of Python beyond the University curriculum and how it can be used for data science and why Python lends itself to that field, especially in data analytics and mining.

In terms of future work the following could be added:

  • Visual diagram of the NEAT network

  • Generation, distance display

  • Limit the number of birds shown per generation (Best x of each generation)

Requirements

  • Python 3.9
  • Random
  • OS
  • NEAT

About

Recreation of the viral game Flappy Bird in Pygame with the NEAT algorithm applied to observe genetic algorithms in action

Topics

Resources

Stars

Watchers

Forks

Languages