This is a simple game for the LPC1114FN28 (DIP version). The user controls the location of an @ symbol on the display, trying to steer it away from the edges of the ‘tunnel’. The user starts with 16 ‘lives’ and the game ends when the user runs out of lives.
Wiring
The wiring diagram is as shown below.
The two buttons are used to reset and enter ISP mode. The potentiometer is used to control the @ symbol.
Gameplay
During game play, the screen scrolls vertically. The micro draws a series of dots with a gap in the middle as shown below:
……………………………. @ ……………………00000010
The gap randomly migrates back and forth with each new line. The number to the right is the remaining lives (in hex)
Sourcecode available from here