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

Revision:
4:673eb9735d44
Parent:
0:5fa232ee5fdf
--- a/GameRobotRic.h	Fri Jun 07 20:29:59 2013 +0000
+++ b/GameRobotRic.h	Sat Jun 08 11:24:05 2013 +0000
@@ -11,7 +11,8 @@
 
   #include "Gameduino.h"          // Gameduino stuff
   #include "Game.h"               // base class for all games
-  // #include "PlayerObject.h"
+  #include "PanelControls.h"      // for joysticks and buttons
+  #include "PlayerObject.h"
   #include "HighScoreTable.h"     // for high score table stored in external EEPROM
 
   class GameRobotRic : public Game {
@@ -27,17 +28,18 @@
   private :
   
     // The one and only player.
-    // PlayerObject player;
+    PlayerObject player;
     
     // Controls used by player.
-    // PanelControls controls;
+    PanelControls controls;
     
     /**************************/
     /* CHECK FOR A HIGH SCORE */
     /**************************/
+    // Pass pointer to a Gameduino to display on in gd.
     // Pass pointer to high score table in highScores.
     // Pass score that was achieved in score.
-    void CheckForHighScore( HighScoreTable *highScores, UInt32 score );
+    void CheckForHighScore( Gameduino *gd, HighScoreTable *highScores, UInt32 score );
 
   };