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/Gameplay.cpp
- Revision:
- 2:3c1a5079243d
- Parent:
- 1:4976bbb3376f
--- a/States/Gameplay.cpp Mon Mar 14 16:19:47 2016 +0000 +++ b/States/Gameplay.cpp Mon Mar 14 19:14:23 2016 +0000 @@ -71,7 +71,7 @@ } //AI will never mis-fire on hold-fire... just for simplicity's sake - if(numPlayers == 1 && (!P2_Left || !P2_Right)) + if(numPlayers == 2 && (!P2_Left || !P2_Right)) { setPoints(2, getPoints(2) - 1, uLCD); led1 = 1;