Microprocessor-based Systems: Digital Implementation of Classic Ball & Maze game
This is a modern version of the classic ball and maze game. A two-axis accelerometer was used as the input to the game. The player moves the ball (green led above) by tilting the board in either the x or y axis. The red leds represents the walls of the maze and the orange led represents the win condition. Multiple levels were made for this game. On the more challenging levels the ball is able to “fall” off the LED matrix array which would trigger the lose condition. The accelerometer interfaces with a A/D converter on the PIC 32 microcontroller which processes the input and runs it in the game engine. The game engine then updates the LED matrix by sending the relevant data to the Altera Cyclone FPGA which drives the display of the game using time-multiplexing.