Space invaders with a nRF2401A wireless joypad

Dependencies:   Gameduino mbed nRF2401A

Fork of Gameduino_Invaders_game by Chris Dick

Gameduino and an nRF2401A hooked up to an mbed on an mbeduino:

/media/uploads/TheChrisyd/2014-03-08_22.53.54.jpg

Revision:
1:f44175dd69fd
Parent:
0:8a7c58553b44
Child:
2:20a89dc286d5
--- a/game.cpp	Thu Jun 21 19:13:34 2012 +0000
+++ b/game.cpp	Sat Sep 29 13:01:42 2012 +0000
@@ -114,6 +114,7 @@
 static unsigned int previousPlayerScore, previousHighScore;
 void redrawScores()
 {
+
   previousPlayerScore = previousHighScore = 0xffff;
 }
 
@@ -281,7 +282,7 @@
     if (status == S_DYING) {
       ypos = y;
       updateSprite(GR_BULLET,1);
-      //GD.wr16(SCROLL_Y,GD.rd16(SCROLL_Y)+1);
+      GD.wr16(SCROLL_Y,GD.rd16(SCROLL_Y)+1);
     }
   }
   // See if the bullet hit anything