Cave Runner Game w/Accelerometer and Nokia LCD
For our project we made a simple game using a Nokia 6610 LCD, ADXL345 accelerometer, and a speaker connected with a MOSFET. The programs shows a title screen with the game being played in the background. When the player presses S1 on the LCD the game starts and a sound plays. The player tilts the breadboard to move the ball and avoid hitting the edges. The difficulty increases over time by increasing the speed at which the walls move. When the player hits the edge with the ball the game ends, a sound is played and the score screen is shown. Pressing S1 again brings up the title screen.
|LCD Pin||mbed pin|
|ADXL pin||mbed pin|
|MOSFET pin||mbed pin|
This program has a modified version of the Nokia LCD library.
Please log in to post comments.