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

game.h

Committer:
ldelaney17
Date:
2017-01-25
Revision:
2:e6788e73de54
Child:
3:22c644f16365

File content as of revision 2:e6788e73de54:

#ifndef GAME_H
#define GAME_H
#include "mbed.h"
#include <vector>
#include "lcd_prompts.h"
#include <sstream>

extern int num_players;
extern int current_player;
extern Timer current_clock;
extern vector<float> player_timers;
extern vector<int> player_order;

void game_setup();

void init_num_players();
/*void set_player_order();




void update_clock();
void update_timers();

void next_player();

void toggle_pause();*/



#endif