summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarun <arun@nubati.net>2007-05-16 12:34:17 +0000
committerarun <arun>2007-05-16 12:34:17 +0000
commit16206eb9748e85413976815017a1562d12fa08ed (patch)
treea7626309207da50081b94cbc2b4721d9b3a62f08
parentf76fa7b25a6b09c2443680e1ae915cd949704d4e (diff)
downloade-DoKo-16206eb9748e85413976815017a1562d12fa08ed.tar.gz
e-DoKo-16206eb9748e85413976815017a1562d12fa08ed.tar.bz2
e-DoKo-16206eb9748e85413976815017a1562d12fa08ed.zip
found a bug in the shuffling routine
-rw-r--r--functions.php2
-rw-r--r--index.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/functions.php b/functions.php
index a8cdea8..66010ae 100644
--- a/functions.php
+++ b/functions.php
@@ -442,7 +442,7 @@ function create_array_of_random_numbers()
for($i=0;$i<48;$i++)
$a[$i]=$i+1;
- $r = array_rand($a,48);
+ $r = shuffle($a);
};
return $r;
diff --git a/index.php b/index.php
index 83c8cb7..712b48b 100644
--- a/index.php
+++ b/index.php
@@ -852,7 +852,7 @@ else if(myisset("me"))
echo " Please, <a href=\"$host?me=$me\">start</a> the game.<br />";
}
else
- echo "You finished the setup, once everyone else has done the same you'll get an email when it is your turn..<br />";
+ echo "You finished the setup, at the moment you need to reload this page after everyone else has finished there setup so that the server can figure out vorbehalte... in future this will get an email in case you need to do anything, but this is not implemented yet :( <br />";
break;
case 'play':