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: GameRobotRic.h
- Revision:
- 0:5fa232ee5fdf
- Child:
- 4:673eb9735d44
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/GameRobotRic.h Tue Jun 04 20:16:33 2013 +0000 @@ -0,0 +1,47 @@ +/* + * SOURCE FILE : GameRobotRic.h + * + * The RobotRic game class. + * + */ + +#ifndef GameRobotRicIncluded + + #define GameRobotRicIncluded + + #include "Gameduino.h" // Gameduino stuff + #include "Game.h" // base class for all games + // #include "PlayerObject.h" + #include "HighScoreTable.h" // for high score table stored in external EEPROM + + class GameRobotRic : public Game { + + public : + + /*****************/ + /* PLAY THE GAME */ + /*****************/ + // This NEVER exits. + void Play( void ); + + private : + + // The one and only player. + // PlayerObject player; + + // Controls used by player. + // PanelControls controls; + + /**************************/ + /* CHECK FOR A HIGH SCORE */ + /**************************/ + // Pass pointer to high score table in highScores. + // Pass score that was achieved in score. + void CheckForHighScore( HighScoreTable *highScores, UInt32 score ); + + }; + +#endif + +/* END of GameRobotRic.h */ +