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:
Tue Jun 04 20:16:33 2013 +0000
Revision:
0:5fa232ee5fdf
Started conversion from Maple version of game. So far Gameduino seems to have been initialised OK and just displays a sign on message. Lots of commented out code.

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 }