From: arun Date: Sat, 18 Nov 2006 11:26:21 +0000 (+0000) Subject: played the first complete game :) X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=commitdiff_plain;h=b74908c768e91f6e19a31f3956a57a2031c510fa played the first complete game :) --- diff --git a/index.php b/index.php index 162656e..d1dad1b 100644 --- a/index.php +++ b/index.php @@ -12,7 +12,7 @@ To: $To
Subject: $Subject
$message
"; @@ -471,9 +471,9 @@ if(sizeof($lines)<2) { for($i=0;$i<4;$i++) { - echo "Hello ".$player[$hash[$i]]["name"].",\n"; - echo "\n"; - echo "the game has been cancled due to the request of one of the players.\n"; + $message = "Hello ".$player[$hash[$i]]["name"].",\n\n". + "the game has been cancled due to the request of one of the players.\n"; + mymail($player[$hash[$i]]["email"],"[DoKo] the game has been cancled",$message); } $output = fopen("status.txt","w"); if($output) @@ -501,6 +501,7 @@ if(sizeof($lines)<2) } echo "
\n"; ?> +

aehm... at the moment please just answer everything with no, still need to implement this

do you want to play solo? @@ -688,11 +689,14 @@ if(sizeof($lines)<2) if(sizeof($tmp)==2 && strlen($tmp[0])==1) { $next=$tmp[0]; - echo "DEBUG: the next move is for the next player
"; + + /* + * echo "DEBUG: the next move is for the next player
"; + */ if(strlen(trim($player[$me]["cards"]))==0) { echo "
game over, count points
"; - for($i=0;$i>4;$i++) + for($i=0;$i<4;$i++) { echo $player[$hash[$i]]["name"]." got ".$player[$hash[$i]]["points"]."
"; }