All there but errors need fixing

Dependencies:   mbed

Overview:

Rookie Tetris is a jigsaw style game based on the classic Tetris.

A block will appear at the top of the screen, you must move it (your options for movement are left, right and down - you cannot move up the board). The block will stop when it if placed either on the floor of the board or on-top of another block.

Your goal is to fill a complete row of the board with the blocks; when you do so the row will delete and the pattern above it will drop down. The game is over when your pattern is tall enough to reach to the top of the board!

Controls:

Use the joystick to move your block! Your block cannot move out of the parameters of the board.

Pot 2 controls the contrast of the screen.

Revision:
11:0183a52c1077
Parent:
10:7310c9440547
Child:
13:600a34a047ca
diff -r 7310c9440547 -r 0183a52c1077 TetrisGame/TetrisGame.h
--- a/TetrisGame/TetrisGame.h	Mon Jun 01 21:02:52 2020 +0000
+++ b/TetrisGame/TetrisGame.h	Mon Jun 01 22:14:34 2020 +0000
@@ -13,7 +13,7 @@
     TetrisGame();
     ~TetrisGame();
     
-    void init(int tetromino_height, int tetromino_width, int speed);
+    void init(int speed);
     void read_input(Gamepad &pad);
     void update(Gamepad &pad, N5110 &lcd);
     void draw(N5110 &lcd);
@@ -31,10 +31,10 @@
     // Tetromino _p1;
     
 
-    int _x;
-    int _y;
-    int _tetromino_height;
-    int _tetromino_width;
+    int _px;
+    int _py;
+//    int _tetromino_height;
+//    int _tetromino_width;
     int _speed;
     
     Tetromino _tetromino;