afonso raposo

Projects

Genetic Neural Network Flappy Bird

Status
archived
Released
June 2018
Built with
Python

Source

I developed a genetic algorithm that improves a neural network through out iterations. Like every evolution algorithm, it has three main events: reprodution, mutation, and death. So in each of this events, the weights of a neural network that controlls the behaviour of the Flappy Bird might change.

This makes it that the birds become smarter overall through out time. In the demo above you can see how they compete in each iteration and they progressively improve together.

Screenshot of learning simulation
Screenshot from Youtube video. Here you can see multiple birds competing and learning