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:
7:80e1c83b9b6a
Parent:
6:39cbec524483
Child:
8:cebb2aca8e19
--- a/main.cpp	Sun May 31 20:41:41 2020 +0000
+++ b/main.cpp	Mon Jun 01 13:31:37 2020 +0000
@@ -78,7 +78,7 @@
     pad.init(); // initialise Gamepad
     
     // initialise the game with correct tetromino sizes etc
-    tetris.init(WIDTH/2 - 2, HEIGHT, 4, 4, 1);
+    tetris.init(WIDTH/2 - 2, 4, 4, 4, 1);
     
 }
 
@@ -92,8 +92,8 @@
 // welcome screen display
 void welcome() {
     
-    lcd.printString("      TETRIS      ",0,1);
-    lcd.printString("    Press Start   ",0,4);
+    lcd.printString("    TETRIS      ",0,1);
+    lcd.printString("  Press Start   ",0,4);
     lcd.refresh();
     
     // flash LEDs untile start button pressed