Space invaders with a nRF2401A wireless joypad
Dependencies: Gameduino mbed nRF2401A
Fork of Gameduino_Invaders_game by
game.h
00001 //#include <SPI.h> 00002 #include "GD.h" 00003 #include "joystick.h" 00004 #include "shield.h" 00005 #include "mbed.h" 00006 #include "arduino.h" 00007 /*--------------------------------------------- 00008 Data types 00009 ---------------------------------------------*/ 00010 typedef char int8; 00011 00012 /*--------------------------------------------- 00013 Header files 00014 ---------------------------------------------*/ 00015 #include "utils.h" 00016 #include "graphics.h" 00017 #include "sound.h" 00018 00019 /*--------------------------------------------- 00020 Game functions 00021 ---------------------------------------------*/ 00022 void initGame(); // Called once from setup() 00023 void updateGame(); // Called from loop() to update the game 00024 00025 extern Joystick joystick;
Generated on Fri Jul 15 2022 06:07:12 by 1.7.2