\n
\n"; echo "Do you want to continue playing?(This will start a new game, with the next person as dealer.)\n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo "
\n"; return; } function output_form_for_new_game($names) { ?>

Select players (Remember: you need to be one of the players)

table \n"; $i++; echo " \n
\n"; } ?>

Rules

Some areas are grayed out which means that the rule is not implemented yet and therefore cannot be selected

Ten of hearts:

Schweinchen (both foxes), only in normal games or silent solos:

Call Re/Contra, etc.:

\n"; else $HTML = "\n\n"; $i=0; if($caption!="") $HTML .= " \n"; foreach($data as $record) { if(!$i) $HTML .= " \n \n"; else { if($i==1) $HTML .= " \n"; if($i % 2) $HTML .= " "; else $HTML .= " "; } foreach($record as $point) { if($i) $HTML .= " "; else $HTML .= " "; } if(!$i) $HTML .= " \n \n"; else { $HTML .= " \n"; } $i++; } $HTML .= " \n
$caption
$point$point
\n"; return $HTML; } function display_card($card,$dir="english") { /* cards are only availabl for the odd values, e.g. 1.png, 3.png, ... * convert even cards to the matching odd value */ if( $card/2 - (int)($card/2) == 0.5 || $card == 0) echo "\"".DB_get_card_name($card)."\"\n"; else echo "\"".DB_get_card_name($card-1)."\"\n"; return; } function display_link_card($card,$dir="english",$type="card") { if( $card/2 - (int)($card/2) == 0.5) echo "
\"".DB_get_card_name($card)."\"
\n"; else echo "
\"".DB_get_card_name($card-1)."\"
\n"; return; } function output_check_for_sickness($me,$mycards) { ?>
Thanks for joining the game...
do you want to play solo?
"; echo " no
\n"; } else { echo " no
\n"; }; echo "Do you have poverty?"; if(count_trump($mycards)<4) { echo " yes"; echo " no
\n"; } else { echo " no
\n"; }; echo "Do you have too many nines?"; if(count_nines($mycards)>4) { echo " yes"; echo " no
\n"; } else { echo " no
\n"; }; echo "\n"; echo "\n"; echo "
\n"; return; } function output_form_calls($me) { if( can_call(120,$me) ) echo " re/contra (120):". "
"; if( can_call(90,$me) ) echo " 90:". "
"; if( can_call(60,$me) ) echo " 60:". "
"; if( can_call(30,$me) ) echo " 30:". "
"; if( can_call(0,$me) ) echo " 0:". "
". " no call:". "
"; } function output_check_want_to_play($me) { ?>
Do you want to play a game of DoKo?
yes no
\n"; echo "\n"; echo "\n"; echo "
\n"; return; } function output_header() { global $REV; ?> e-Doko

Welcome to E-Doko (beta)

"; return; } function output_footer() { global $REV,$PREF; echo "\n\n"; echo "
\n"; echo "

copyright 2006-2008 Arun Persaud, Lance Thornton
\n". " Verwendung der [deutschen] Kartenbilder mit Genehmigung
der Spielkartenfabrik Altenburg GmbH,(c) ASS Altenburger
\n". " - ASS Altenburger Spielkarten - Spielkartenfabrik Altenburg GmbH
\n". " a Carta Mundi Company Email: info@spielkarten.com Internet: www.spielkarten.com

\n"; echo "

See the latest changes \n". " via git
or download the source via
\n'git clone http://nubati.net/git/e-DoKo.git'
\n". " \n". " \"Green\n". "

\n"; echo "\n"; echo "
\n"; echo "\n"; echo "\n"; return; } function output_status() { global $defaulttimezone,$INDEX,$WIKI; if(isset($_SESSION["name"])) { $name = $_SESSION["name"]; /* logout info */ echo "\n
\n"; echo $name,"\n"; echo " | mypage \n"; echo " | settings\n"; echo " | new game\n"; echo " | statistics\n"; echo " | wiki\n"; echo " |    logout\n"; echo "
\n"; /* last logon time */ $myid = DB_get_userid("name",$name); $zone = DB_get_user_timezone($myid); $time = DB_get_user_timestamp($myid); date_default_timezone_set($defaulttimezone); $unixtime = strtotime($time); date_default_timezone_set($zone); echo "
last login: ".date("r",$unixtime)."
\n"; } else { echo "\n
\n"; echo "login\n"; echo "
\n"; } return; } function output_select_timezone($name,$timezone="") { $Tzone = array ( "Europe/London" => "London", "Europe/Berlin" => "Berlin", "America/Vancouver" => "Berkeley", "Pacific/Auckland" => "Wellington" ); echo " \n"; return; } function output_password_recovery($email,$password) { ?>
\n"; echo " \n"; echo " \n"; ?>
Password recovery
Personal notes:
\n"; $notes = DB_get_notes_by_userid_and_gameid($userid,$gameid); foreach($notes as $note) echo "$note
\n"; if($userstatus!='gameover') echo "\n"; echo " \n"; return; } ?>