This project contains a custom spi based protocol to interface with the RGB matrix. Along with the RGB matrix there is a speaker that loops through playing the Tetris and Doctor Mario theme. This speaker interface uses code ported from a Tetris song arduino project. The game all runs around the LPC's button interrupts and it's timer interrupts to run the designed game.
The game is a connect four falling dot game. When the game starts the board is already fill 60% with different colored dots. Three random colored dots are then dropped from the top of the display, it is up to the player to line the dots up with other dots to make them dissapear. The dots can be connect horizontal, vertical, or diagonally. The game is won when all the dots are cleared from the board and lost when a dot lands on the top row of the matrix. The game is then restartes after a win or a loss and is also able to be paused at anytime.