Version of Robotron arcade game using LPC1768, a Gameduino shield, a serial EEPROM (for high scores), two microswitch joysticks and two buttons plus a box to put it in. 20 levels of mayhem.

Dependencies:   25LCxxx_SPI CommonTypes Gameduino mbed

Committer:
RichardE
Date:
Mon Jun 17 15:10:43 2013 +0000
Revision:
18:70190f956a24
Parent:
0:5fa232ee5fdf
Improved response to button 1 when entering high scores (HighScoreEntry.cpp).

Who changed what in which revision?

UserRevisionLine numberNew contents of line
RichardE 0:5fa232ee5fdf 1 /*
RichardE 0:5fa232ee5fdf 2 * SOURCE FILE : main.cpp
RichardE 0:5fa232ee5fdf 3 *
RichardE 0:5fa232ee5fdf 4 * Main program for the RobotRic game. Uses the Gameduino board (for Arduino) to generate graphics and sound.
RichardE 0:5fa232ee5fdf 5 *
RichardE 0:5fa232ee5fdf 6 */
RichardE 0:5fa232ee5fdf 7
RichardE 0:5fa232ee5fdf 8 #include "mbed.h"
RichardE 0:5fa232ee5fdf 9 #include "GameRobotRic.h" // RobotRic game object
RichardE 0:5fa232ee5fdf 10
RichardE 0:5fa232ee5fdf 11 /**
RichardE 0:5fa232ee5fdf 12 * Main program.
RichardE 0:5fa232ee5fdf 13 * Never returns.
RichardE 0:5fa232ee5fdf 14 */
RichardE 0:5fa232ee5fdf 15 int main() {
RichardE 0:5fa232ee5fdf 16 // Create an instance of the game and then play it.
RichardE 0:5fa232ee5fdf 17 // Play method never exits.
RichardE 0:5fa232ee5fdf 18 GameRobotRic game;
RichardE 0:5fa232ee5fdf 19 game.Play();
RichardE 0:5fa232ee5fdf 20 return 0;
RichardE 0:5fa232ee5fdf 21 }