Zhe Cheng Lee / Mbed 2 deprecated SpaceInvadersFINAL

Dependencies:   NokiaLCD SDFileSystem SIgame mbed-rtos mbed wave_player

Files at this revision

API Documentation at this revision

Comitter:
zlee9
Date:
Thu Mar 07 22:01:46 2013 +0000
Parent:
0:fcfeec8463fa
Child:
2:e4ad6972ddc2
Commit message:
Fixed winning message.

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Thu Mar 07 02:59:24 2013 +0000
+++ b/main.cpp	Thu Mar 07 22:01:46 2013 +0000
@@ -275,15 +275,19 @@
      ******/
     // Congratulation screen
     lcd.cls();
-    lcd.locate(0,3);
-    lcd.printf("WELL DONE\n\rEARTHLING");
-    lcd.locate(0,6);
-    lcd.printf("THIS TIME YOU WIN");
+    lcd.locate(0,2);
+    lcd.printf("WELL DONE");
+    lcd.locate(0,5); 
+    lcd.printf("EARTHLING");
+    lcd.locate(0,8);
+    lcd.printf("THIS TIME YOU");
+    lcd.locate(0,11);
+    lcd.printf("WIN");
     wait(2);
 
     // Prompt player to play game again
     lcd.cls();
-    lcd.locate(0,10);
+    lcd.locate(0,11);
     lcd.printf("PRESS BUTTON TO PLAY AGAIN");
     WAIT4FULLPUSH(button);
 }