Tetris game on mikroTFT touchscreen and LPC1768

Dependencies:   Tetris

Dependents:   Tetris

Revision:
2:6b6986c3d2bd
Parent:
1:b4aa36ae11ac
Child:
4:107d1d5a642e
--- a/main.cpp	Sat Feb 25 23:52:28 2017 +0000
+++ b/main.cpp	Fri Mar 03 13:19:26 2017 +0000
@@ -17,6 +17,8 @@
         Block NewBlock;
         flag = false;
         drawMap();
+        drawScore(score);
+        drawNextBlock(NewBlock);
         while( !flag ) {
             drawMap();
             drawBlock(NewBlock);
@@ -39,6 +41,7 @@
             }
         }
         score += checkLine();
+        clrNextBlock(NewBlock);
         if ( checkGameOver() )
             break;
     }