Multi-game multiplayer arcade gaming system meant for the blue O when playing Super Tic-Tac-Toe.
Dependencies: 4DGL-uLCD-SE PinDetect SDFileSystem mbed wave_player
Diff: RPSLK.h
- Revision:
- 2:da0f01fbd25c
- Parent:
- 1:2a7e2f5aeda4
--- a/RPSLK.h Sat Nov 28 21:57:03 2015 +0000 +++ b/RPSLK.h Fri Dec 04 23:00:42 2015 +0000 @@ -1,3 +1,10 @@ +/****************************************************** + * This header program declares all the functions and + * variables used by one of the players in Rock, Paper, + * Scissors, Lizard, Spock. + ******************************************************/ + + #define ROCK 0 #define PAPER 1 #define SCISSORS 2 @@ -10,12 +17,6 @@ #define SWITCHRIGHT 4 #define MEH "/sd/Meh.wav" -// DELETE LATER -#define MAXBAUDRATE 3000000 -#define SELECT "/sd/select.wav" -#define WIN "/sd/win.wav" -#define BOMB "/sd/wavfiles/bomb.wav" - // Rock, Paper, Scissors, Lizard, Spock player one class class RPSLK { @@ -143,7 +144,9 @@ void displayInstructions() { uLCD.cls(); uLCD.printf("Hello, and welcometo a game of Rock,Paper, Scissors,\nLizard, Spock.\n\n"); - uLCD.printf("Click to continue."); + uLCD.printf("Click the tactile "); + uLCD.printf("switch to "); + uLCD.printf("continue."); while (choice != SWITCHCLICK) { wait(0.01);