Invaders game for the Gameduino

Dependencies:   Gameduino mbed

Committer:
TheChrisyd
Date:
Sat Oct 26 22:32:18 2013 +0000
Revision:
4:e82f4a87df9e
Parent:
2:20a89dc286d5
Shields are now destroyed when hit, corrected score displays

Who changed what in which revision?

UserRevisionLine numberNew contents of line
TheChrisyd 2:20a89dc286d5 1 //#include <SPI.h>
TheChrisyd 2:20a89dc286d5 2 #include "GD.h"
TheChrisyd 2:20a89dc286d5 3 #include "joystick.h"
TheChrisyd 2:20a89dc286d5 4 #include "shield.h"
TheChrisyd 2:20a89dc286d5 5 #include "mbed.h"
TheChrisyd 2:20a89dc286d5 6 #include "arduino.h"
TheChrisyd 2:20a89dc286d5 7 /*---------------------------------------------
TheChrisyd 2:20a89dc286d5 8 Data types
TheChrisyd 2:20a89dc286d5 9 ---------------------------------------------*/
TheChrisyd 2:20a89dc286d5 10 typedef char int8;
TheChrisyd 2:20a89dc286d5 11
TheChrisyd 2:20a89dc286d5 12 /*---------------------------------------------
TheChrisyd 2:20a89dc286d5 13 Header files
TheChrisyd 2:20a89dc286d5 14 ---------------------------------------------*/
TheChrisyd 2:20a89dc286d5 15 #include "utils.h"
TheChrisyd 2:20a89dc286d5 16 #include "graphics.h"
TheChrisyd 2:20a89dc286d5 17 #include "sound.h"
TheChrisyd 2:20a89dc286d5 18
TheChrisyd 2:20a89dc286d5 19 /*---------------------------------------------
TheChrisyd 2:20a89dc286d5 20 Game functions
TheChrisyd 2:20a89dc286d5 21 ---------------------------------------------*/
TheChrisyd 2:20a89dc286d5 22 void initGame(); // Called once from setup()
TheChrisyd 2:20a89dc286d5 23 void updateGame(); // Called from loop() to update the game
TheChrisyd 2:20a89dc286d5 24
TheChrisyd 2:20a89dc286d5 25 extern Joystick joystick;