summaryrefslogtreecommitdiffstats
path: root/include/game.php
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2009-04-30 00:08:10 -0700
committerArun Persaud <arun@nubati.net>2009-05-11 22:13:13 -0700
commit0edb4b26c049e07af0970e081fab699d2bdd333b (patch)
tree5d1c5b993e352e64b7473d1d88a36ba31f66f94b /include/game.php
parent0a4212f2c7179913c6ae87011b8f00d435af93e3 (diff)
downloade-DoKo-0edb4b26c049e07af0970e081fab699d2bdd333b.tar.gz
e-DoKo-0edb4b26c049e07af0970e081fab699d2bdd333b.tar.bz2
e-DoKo-0edb4b26c049e07af0970e081fab699d2bdd333b.zip
NEW FEATURE: show number of tricks a person made
only shows 0,1,few or many tricks, so that we don't give too much information away. Might adjust or change this in the future. This addresses issues #11.
Diffstat (limited to 'include/game.php')
-rw-r--r--include/game.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/game.php b/include/game.php
index f9daf65..a11e6b6 100644
--- a/include/game.php
+++ b/include/game.php
@@ -1295,6 +1295,7 @@ switch($mystatus)
/* end of trick? */
if($seq==4)
{
+ $winner = get_winner($play,$gametype); /* returns the position */
echo " </div>\n </li>\n"; /* end div trick, end li trick */
}
}