Cup and Ball game. Catch the ball at the top of the screen in the cup at the bottom of the screen.

Dependencies:   microbit

Files at this revision

API Documentation at this revision

Comitter:
MikeDabb
Date:
Sun Nov 20 22:26:41 2016 +0000
Parent:
0:f81fa18f9e85
Commit message:
Added message at end of game to press reset to start new game.

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r f81fa18f9e85 -r 0d85663db186 main.cpp
--- a/main.cpp	Sun Aug 14 20:33:51 2016 +0000
+++ b/main.cpp	Sun Nov 20 22:26:41 2016 +0000
@@ -199,5 +199,15 @@
         
         uBit.sleep(100);               
     }
+
+while(true)
+{
+    uBit.display.scroll("Press Reset To Start New Game");
+    uBit.sleep(1000);
 }
 
+
+
+
+}
+