\n";
return;
}
function output_form_for_new_game($names)
{
$copy_names = $names; /* local copy, so that we can delete names from it
* after we selected them to make sure that each name
* only shows up once
*/
?>
\n";
else
$HTML = "\n
\n";
$i=0;
if($caption!="")
$HTML .= "
$caption
\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 .= "
\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 "\n";
else
echo "\n";
return;
}
function display_link_card($card,$dir="english",$type="card")
{
if( $card/2 - (int)($card/2) == 0.5)
echo "\n";
else
echo "\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 "