![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Matis Requis 201241242
Dependencies: mbed
Tempest Game
Game Screen
The board is made of 12 columns. The Hero stays at the top of the column
Game Controls
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.
Diff: Board/Board.h
- Revision:
- 8:5feb1913bc92
- Parent:
- 3:54132cf073d7
- Child:
- 9:759b419fec3b
--- a/Board/Board.h Mon May 25 09:08:25 2020 +0000 +++ b/Board/Board.h Mon May 25 11:40:15 2020 +0000 @@ -5,6 +5,8 @@ #include "N5110.h" #include "Gamepad.h" +#include <algorithm> + class Board { public: @@ -12,9 +14,9 @@ ~Board(); void draw(N5110 &lcd); void path(); - void drawpath(int x0, int y0, int x1, int y1, Vector2D array[15]); - Vector2D drawcolumn[12][15]; - + void drawpath(int x0, int y0, int x1, int y1, Vector2D array[14]); + Vector2D drawcolumn[12][14]; + void reverse(Vector2D array, int col); private: