To the left are 500 birds learning to play Flappy Bird, a game with one control: jump. The goal of the game is to make it through as many pipes as possible without hitting any. Every generation, 500 new birds are created and, given a few parameters about the game (current velocity, current height, nearest pipe gap, etc.), they must learn how to get though the endless maze of pipes. The source code is available on Github.

I originally made this simulation in Processing, a Java based programming environment, and wrote every line of code, from the drawing and game mechanics to the neural net the birds use to make decisions. I was primarily inspired by Dan Shiffman's Coding Challenge where he similarly taught an AI to play Flappy Bird.