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
Diff: main.cpp
- Revision:
- 0:5fa232ee5fdf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Tue Jun 04 20:16:33 2013 +0000 @@ -0,0 +1,21 @@ +/* + * SOURCE FILE : main.cpp + * + * Main program for the RobotRic game. Uses the Gameduino board (for Arduino) to generate graphics and sound. + * + */ + +#include "mbed.h" +#include "GameRobotRic.h" // RobotRic game object + +/** + * Main program. + * Never returns. + */ +int main() { + // Create an instance of the game and then play it. + // Play method never exits. + GameRobotRic game; + game.Play(); + return 0; +}