From 46319a55bbfaddcf07fed1c19120563807d9670d Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Sat, 10 May 2008 22:30:52 -0700 Subject: NEW FEATURE: display if someone is sick during the init phase Now players can see if someone in front of them said they were sick or not. This way people can decide to wait until people in front of them finished the init phase to see what the other playes said... it's made so that you can also see if people behind you already have decided or not, but the player won't see the result in that case... Signed-off-by: Arun Persaud --- include/game.php | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) (limited to 'include/game.php') diff --git a/include/game.php b/include/game.php index 35b94cd..d7e7b95 100644 --- a/include/game.php +++ b/include/game.php @@ -186,7 +186,30 @@ switch($mystatus) /* here we ask the player if he is sick */ $mycards = DB_get_hand($me); sort($mycards); + + /* output sickness of other playes, in case the already selected and are sitting in front of the current player */ + echo "\n\n"; /* end div trick, end li trick , end tricks*/ + /* end displaying sickness */ + if(!myisset("solo","wedding","poverty","nines") ) { output_check_for_sickness($me,$mycards); @@ -271,7 +294,7 @@ switch($mystatus) echo "

\n"; /* move on to the next stage*/ - DB_set_hand_status_by_hash($me,'poverty'); + DB_set_hand_status_by_hash($me,'check'); }; }; -- cgit v1.2.3-18-g5258