Inspiration

I got inspired by watching a youtube video of Code Bullet in which he talks about this idea, I just my brain the make it more interesting.

What it does

Using neuroevolution of augmented topologies I trained an agent to play a clone of the game Flappy Bird. Programmed both the game environment and the AI using python. The agent learns from its past mistake and doesn't repeat it again!

How we built it

It is built with Python the libraries which I use is your Neat - NEAT (NeuroEvolution of Augmenting Topologies) is an evolutionary algorithm that creates artificial neural networks. Pygame - Pygame is a cross-platform set of Python modules designed for writing video games. Matplotlib - Matplotlib is a plotting library for the Python programming language and its numerical mathematics extension NumPy. NumPy - NumPy is a library for the Python programming language, adding support for large, multi-dimensional arrays and matrices, along with a large collection of high-level mathematical functions to operate on these arrays. Graphviz - Graphviz is a package of open-source tools initiated by AT&T Labs Research for drawing graphs specified in DOT language scripts having the file name extension "gv". Pickle - The pickle module is used for serializing and de-serializing python object structures. Visualize etc.

Challenges we ran into

I didn't know about NEAT actually for browsing through the internet and by reading their documentation and their blog, get to know about it. Afterward, I am also getting an error of the PIL module not find but later on, I figure out that I had installed two python versions in my system and this module is going to install in the other version of python. Later on I fix that

Accomplishments that we're proud of

I completed this project in just 1 week of which I am proud of!

What we learned

I learned about the different types of technologies like your augmenting topologies, how to use pickle for de-serializing objects, and even many more.

What's next for AI Learns to Play Flappy Bird

By adding more features like multimedia or multiplayer support through which more players can play the game at the same time by adding this we can make it more interesting!

Built With

Share this project:

Updates