summaryrefslogtreecommitdiff
path: root/server/game.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/game.h')
-rw-r--r--server/game.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/server/game.h b/server/game.h
index 634ea4d..3ed97e4 100644
--- a/server/game.h
+++ b/server/game.h
@@ -31,12 +31,17 @@ class Game : public boost::enable_shared_from_this<Game> {
//! The current state of the game
State::p game_state;
+ //! Current player, used when discarding etc
+ int current_player;
+
+ //! Are we in draw or discard phase?
+ bool draw_phase;
+
+ //! Number of players doing action
int num_player_actions;
- bool east_action;
- bool west_action;
- bool south_action;
- bool north_action;
+ //! Highest value action done
+ Action most_value_action;
//! Handle Ready message from player.
void handle_ready();