We demonstrated how an Arduino based Bi-color LED Matrix Tetris Game can be built in our last instructable. We were quite surprise it was featured to the Instructables homepage and have garnered quite a handful of favourites over a short period. You may check it out if you are interested at https://www.instructables.com/id/Arduino-based-Bi-color-LED-Matrix-Tetris-Game/.
When we were young, there were not many electronic games around and one of the games we enjoy playing on those monochrome monitor with green phosphor screen is the Snake game. For this instructable, we will be building the classic SNAKE game using Bi-color LED Matrices powered by Arduino.
Before we decide to come up with this instructable, we browse through the existing instructables to check if there are any similar projects. Indeed we found a couple of instructables implementing the game, some using the Rainbowduino driving an RGB LED Matrix from Seeedstudio.
We decided to go ahead with our instructable to build the Snake game using our jolliFactory Bi-color LED Matrix Driver module DIY kit. This LED matrix Driver module is designed to be modular and chain-able so that you may daisy-chain the modules together to the number of modules you need to suit your project. We actually re-used these modules here by dis-assembling them from one of our old Scrolling Text Display project. You may visit https://www.instructables.com/id/Arduino-SPI-7-Bi-color-LED-Matrix-Scrolling-Text-D/ if you are keen on building one of these displays.
If you have built the Bi-color LED Matrix Tetris game based on our last instructable, you may proceed directly to the Programming the Arduino Board step to download the Arduino sketch and enjoy the Snake game. For this game, we will only be using 2 push buttons (Left and Right) for game navigation as we think it will be more challenging than using 4 push buttons. We are able to produce dots with red, green or orange on the display by using the Bi-color LED Matrix which should be sufficient for this simple game. We will have orange color for the snake head, red for the snake body and green for the food/token.
To build this project, basic electronics knowledge with electronics component soldering skill and some knowledge on using the Arduino are required.
You may view the following YouTube video to see what we are building.
We will be repeating some of the steps from our Tetris game instructable here to make this instructable as complete by itself without reference to another instructable.