From e31595d5f2bedbdabb59ce8e3fe32b901e33c1a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atle=20Hellvik=20Havs=C3=B8?= Date: Sat, 20 Nov 2010 13:36:48 +0100 Subject: Server responds to discard messages. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Atle Hellvik Havsø --- server/game.h | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'server/game.h') 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 { //! 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(); -- cgit v1.2.3