Matis Requis 201241242

Dependencies:   mbed

Tempest Game

Game Screen

https://os.mbed.com/media/uploads/MatisRequis/tempest_board_wiki.png The board is made of 12 columns. The Hero stays at the top of the column

Game Controls

https://os.mbed.com/media/uploads/MatisRequis/gamepad_buttons.png

To control the hero spaceship point the joystick to the column you want the hero to go to.

Press the A button to shoot a bullet in the column you are currently in.

Revision:
2:d59a92e65bd9
Child:
3:54132cf073d7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/TempestEngine/TempestEngine.h	Tue May 19 10:18:06 2020 +0000
@@ -0,0 +1,29 @@
+#ifndef TEMPESTENGINE_H
+#define TEMPESTENGINE_H
+
+#include "mbed.h"
+#include "N5110.h"
+#include "Gamepad.h"
+//#include "Bullet.h"
+//#include "Hero.h"
+
+class TempestEngine {
+
+public:
+
+    TempestEngine();
+    ~TempestEngine();
+    
+    void init(int column_amount, int bullet_speed);
+    void readinput(Gamepad &pad);
+    void draw(N5110 &lcd);
+    
+private:
+    
+    int _column_amount;
+    int _bullet_speed;
+    int _d;
+    int _a;
+};
+
+#endif
\ No newline at end of file