From 7ecd66ab61eb1f0e8d32e75570b4809b57ae79d5 Mon Sep 17 00:00:00 2001 From: arun Date: Tue, 6 Feb 2007 02:03:39 +0000 Subject: feature request: show complete hand for completed games --- index.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'index.php') diff --git a/index.php b/index.php index 40fc412..84ce6f0 100644 --- a/index.php +++ b/index.php @@ -769,6 +769,14 @@ else if(myisset("me")) foreach($mycards as $card) display_card($card); } + else if($mystatus=='gameover') + { + $oldcards = DB_get_all_hand($me); + $oldcards = mysort($oldcards,$gametype); + echo "Your cards were:
\n"; + foreach($oldcards as $card) + display_card($card); + } echo "\n"; /* check if we need to set status to 'gameover' is done during playing of the card */ -- cgit v1.2.3-18-g5258