Kill the bit game for Real Time Assignment

Dependencies:   mbed C12832 mbed-rtos

Files at this revision

API Documentation at this revision

Comitter:
spearson93
Date:
Sun Apr 10 12:50:40 2022 +0000
Parent:
1:617a3879630b
Commit message:
Rev2 for Draw added

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 617a3879630b -r 7309680cbb76 main.cpp
--- a/main.cpp	Sat Apr 09 10:54:41 2022 +0000
+++ b/main.cpp	Sun Apr 10 12:50:40 2022 +0000
@@ -59,6 +59,10 @@
     {
         lcd.printf("Player 2 Wins!\n");
     }
+    if (T1 == T2)
+    {
+        lcd.printf("Game was a Draw, Try Again\n");
+    }
     mtx.unlock();
 }