![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
This is the Mexican Standoff prototype made by Francisco Martin and Andrew Smith. Please refer to the following link for instructions on hardware hookup: https://developer.mbed.org/users/fomartin/notebook/mexican-standoff-reaction-game/
Dependencies: SDFileSystem mbed-rtos mbed wave_player 4DGL-uLCD-SE PinDetect
Diff: States/GameOver.cpp
- Revision:
- 1:4976bbb3376f
- Parent:
- 0:75716bd37804
--- a/States/GameOver.cpp Mon Mar 14 03:04:08 2016 +0000 +++ b/States/GameOver.cpp Mon Mar 14 16:19:47 2016 +0000 @@ -13,6 +13,7 @@ uLCD.color(WHITE); uLCD.printf("\n Game Over \n"); + //display the game over screen with the winning player if(winningPlayer == 1) { uLCD.locate(0, 5); @@ -29,5 +30,6 @@ uLCD.printf(" PLAYER 1 SUCKS... \n"); } + //return after any button press while(Button0 && Button1 && Button2 && Button3) {} }