Tag Archives: arduino game


Arduino Flappy Bird game

Dejan Nedelkovski from How To Mechatronics explains in this tutorial how to replicate the Flappy Bird game using an Arduino board and a TFT touchscreen.

Here’s the working principle of game: we have 50 pixels wide pillars which move from right to left and every next pillar has a different random height. In order to make them moving, logically, after each iteration we need to clear the screen and redraw the graphic with the pillars at their new position. However, we cannot do that because of the low refresh rate of the screen, which would cause flickering of the graphics. In order to activate all of its pixels the screen needs a bit more time so therefore we will have to improvise and redraw just those things that are moving.

Flappy bird game using Arduino

Flappy bird game using Arduino

Playing Tic Tac Toe against Arduino

Nick Koumaris of educ8s.tv has come up with another cool video tutorial showing how to build an Arduino powered Tic Tac Toe game. The gaming interface consists of a colorful LCD touchscreen that allows the user to play this fun game against Arduino.

Arduino Tic Tac Toe

Arduino Tic Tac Toe

Let’s take a quick look at the code of the project. We need three libraries in order the code to compile. You can find links for the all the libraries in the description below. As you can see, even a simple game like this, require more than 600 lines of code. The code is complex, so I won’t try to explain it in a 5 minute video. I will show you the implementation of the algorithm for the Arduino moves though.

Check out the video tutorial below:

Arduino Tetris on bi-color LED matrix

Nick Lim has posted a new project on building a simple Arduino Nano driven Tetris using two Bi-color LED Matrix Driver Modules that he has designed and is currently selling on his Tindie store named jollyFactory. These display modules use two MAX7219 chip for driving a bi-color 8×8 LED matrix and are chain-able to expand the size of the LED matrix display as required in your project. Four push switches are used in this project to provide an user interface for navigating and rotating the Tetris blocks. An 8 Ohm speaker is also used in the project to generate an audio tone during the play.

Arduino Tetris game

Arduino Tetris game