Game For ECE 2035

Dependencies:   mbed wave_player 4DGL-uLCD-SE MMA8452

Revision:
16:06a88c0110ff
Parent:
14:7225da81314a
Child:
17:4abe3fba3471
--- a/graphics.cpp	Fri Dec 03 09:50:47 2021 +0000
+++ b/graphics.cpp	Fri Dec 03 10:52:08 2021 +0000
@@ -60,10 +60,19 @@
     uLCD.filled_rectangle(0,0,127,127, BLACK);
     uLCD.set_font(FONT_8X8);
     uLCD.text_mode(OPAQUE);
-    uLCD.locate(6,6);
+    uLCD.locate(5,6);
     uLCD.printf("GAME OVER");
 }
 
+void draw_win(){
+    uLCD.filled_rectangle(0,0,127,127, BLACK);
+    uLCD.set_font(FONT_8X8);
+    uLCD.text_mode(OPAQUE);
+    uLCD.color(BLUE)
+    uLCD.locate(5,6);
+    uLCD.printf("YOU WIN");
+}
+
 
 void draw_nothing(int u, int v)
 {