All there but errors need fixing

Dependencies:   mbed

Revision:
2:55092965eadd
Parent:
1:35dba0833c7d
Child:
3:522c6f850e91
diff -r 35dba0833c7d -r 55092965eadd main.cpp
--- a/main.cpp	Fri May 22 10:36:01 2020 +0000
+++ b/main.cpp	Sat May 23 13:59:06 2020 +0000
@@ -1,4 +1,4 @@
-/* 
+/*
 ELEC2645 Embedded Systems Project
 School of Electronic & Electrical Engineering
 University of Leeds
@@ -20,8 +20,78 @@
 Gamepad pad;
 N5110 lcd;
 
+
+int ScreenHeight = 84;
+int ScreenWidth = 48;
+string block[7] // store tetromino blocks as a w-string
+
+
+
+
+/* int Rotate(int px, int py, int r)
+{
+    int pi = 0;
+    switch (r % 4);
+    {
+        case 0: pi = py * 4 + px; // shape width = 4
+        break;
+        
+        case 1: pi = 12 + py - (px * 4); // rotates the shape by 90 degrees
+        break;
+        
+        case 2: pi = 15 - (py * 4) - px; // rotates the shape by 180 degrees
+        break; 
+        
+        case 3: pi = 3 - py + (px * 4); // rotates the shape by 270 degrees
+        break;
+        
+        }
+        return pi;
+    }
+*/
+
+void title()
+{
+    using namespace std:
+    
+    system("cls");
+    
+    cout << "--------------------------------------------------------\n";
+    
+    cout << "------- ------- ------- -------    ---    -----\n";
+    cout << "   |    |          |    |      |    |    |     ||n";
+    cout << "   |    |          |    |      |    |    |\n";
+    cout << "   |    -----      |    -------     |     -----\n";
+    cout << "   |    |          |    |    |      |          |\n";
+    cout << "   |    |          |    |     |     |    |     |\n";
+    cout << "   |    -------    |    |      |   ---    -----\n";
+    
+    cout << "\t<menu>\n";
+    cout << "\t1: Start Game\n\t2: Quit\n\n";
+    
+    cout << "---------------------------------------------------------\n";
+    
+}
+
+int GameOver()
+{
+    using namespace std;
+    
+    char a;
+    cout << " -----     -    -     - ------- ------- -     - -------- ------\n";
+    cout << "|     |   | |   ||   || |       |     | |     | |        |     |\n";
+    cout << "|        |   |  | | | | |       |     | |     | |        |     |\n";
+    cout << "|  ---- |     | |  |  | -----   |     | |     | ------   ------\n";
+    cout << "|     | |-----| |     | |       |     |  |   |  |        |   |\n";
+    cout << "|     | |     | |     | |       |     |   | |   |        |    |\n";
+    cout << " -----  |     | |     | ------- -------    |    -------- |     |\n";
+    cout << "\n\nPress any key\n";
+    
+    return 0;   
+}
 int main()
 {
     
+
 }