Power Grid Board Game Timer. Acts like a chess timer for 3-6 people. Uses an ADXL accelerometer to pause the timer and change players. Uses an LCD screen to prompt the players for input, read that input, and change between rounds.
Dependencies: DmTouch_UniGraphic UniGraphic-forLdelaney17FinalProject mbed
Diff: game.h
- Revision:
- 3:22c644f16365
- Parent:
- 2:e6788e73de54
- Child:
- 4:e14c199c2466
diff -r e6788e73de54 -r 22c644f16365 game.h --- a/game.h Wed Jan 25 06:50:57 2017 +0000 +++ b/game.h Wed Jan 25 07:08:48 2017 +0000 @@ -10,15 +10,18 @@ extern Timer current_clock; extern vector<float> player_timers; extern vector<int> player_order; - +extern float round_bonus_time; void game_setup(); void init_num_players(); -/*void set_player_order(); +void set_player_order(); +void set_start_time(); //right now this is hardcoded +void new_round(); - +void display_clock(); +/* void update_clock(); void update_timers();