diff options
author | arun <arun@nubati.net> | 2007-02-06 02:03:39 +0000 |
---|---|---|
committer | arun <arun> | 2007-02-06 02:03:39 +0000 |
commit | 7ecd66ab61eb1f0e8d32e75570b4809b57ae79d5 (patch) | |
tree | 4f12c7484a0c18e7b7e0408a8dfd9894d64a4e40 /index.php | |
parent | fb8907b3f2daf368222f514d5ff36a059e330a0d (diff) | |
download | e-DoKo-7ecd66ab61eb1f0e8d32e75570b4809b57ae79d5.tar.gz e-DoKo-7ecd66ab61eb1f0e8d32e75570b4809b57ae79d5.tar.bz2 e-DoKo-7ecd66ab61eb1f0e8d32e75570b4809b57ae79d5.zip |
feature request: show complete hand for completed games
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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: <br />\n"; + foreach($oldcards as $card) + display_card($card); + } echo "</div>\n"; /* check if we need to set status to 'gameover' is done during playing of the card */ |