Kill the bit game for Real Time Assignment
Dependencies: mbed C12832 mbed-rtos
Revision 2:7309680cbb76, committed 2022-04-10
- 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 |
--- 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();
}