Have you heard of a little game called Flappy Bird? Oh who am I kidding, of course you have. It took the entire world by storm. Sadly, I admit to playing it, peer pressure succeeded. You may also be aware that the creator pulled it off of the app stores not that long ago. Some people went crazy to say the least! The game was addictively played by many and the removal of the game from the app store sparked outrage from players globally.
So, what do you do now? Well, perhaps your addiction could feed doing something a little more productive, but, in the end you will be able to play your favourite game again. How does that sound?
Well, Dan200 on YouTube has you covered. He has recreated the Flappy Bird game on an Arduino using just a pushbutton and an LED matrix.
For those of you who have been living under a rock, Flappy Bird is a game where you tap the screen to flap a birds wings. The bird flies through the level and the player must dodge Mario reminiscent pipes.
Dan200 replicates Flappy Bird by representing the bird with an LED and the pipes with small groups of LED’s. Pushing the button makes the little LED bird ‘flap its wings’. The quicker you press the button, the more you flap and the higher your little bird goes. The ‘pipes’ scroll from the right hand side of the matrix to the left rather quickly. If the LED bird collides with the pipes it flashes and then displays the bird full size, almost like a splash screen
This is a great project for those who want to learn more about the programming aspect of Arduino. Simple hardware, good programming and great fun.
If you would like to build ‘Flappy Bit’ pick up these components in store:
- An Arduino
- LED Matrix (you could use a standard 8*8 or even a 8*8 RGB matrix for a full colour game!)
- Pushbutton (and maybe even a nice cover)
You can also download the source code here.