LED Matrix First Game

I mentioned in several other posts that I was working on an LED matrix handheld gaming system. I have finally finished the breadboard prototype and have written the first game. It has been written for the ATMega32, but should be easily adapted to any other AVR. It takes up 1444 bytes (1.444kb) on the AVR. The game is a simple racing game where you have to avoid the oncoming obstacles (red dots) by moving a green dot (your car) with a potentiometer. When you complete a lap (one iteration of the hard-coded track) the speed of the game increases. If you crash it displays a red X and restarts the game. Once you complete four laps, it displays a green smiley face. The attached zip file contains a schematic along with the code.
LED_MATRIXGAME.zip (40.9 KB)