X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=output.php;h=ddea3b83c0e5980b488a73973404a3abc23043f3;hp=721858f51d1615bb43e6cdfbbdfefad7afcd65d1;hb=d8eac0035f97a64371557e7da8b9730fe28d8788;hpb=9fd03423a0e5e26397250e8924d2be0e01e2ceaf
diff --git a/output.php b/output.php
index 721858f..ddea3b8 100644
--- a/output.php
+++ b/output.php
@@ -2,87 +2,38 @@
/* functions which only ouput html */
-function display_status($gametype)
+function output_user_settings($email,$password)
{
- echo "
";
- echo " Gametype: $gametype";
- echo "
\n";
-
- return;
-}
+ global $PREF;
-function display_news()
-{
- global $wiki;
- echo "
\n".
- " Please hit shift+reload. \n".
- " The server now keeps score... (only from now on) ".
- " If you find more bugs, please list them in the wiki.\n
\n";
- return;
-}
+ echo "
\n";
+ echo "
Settings
\n";
+ echo "change password use german cards ";
+ else
+ echo "use english cards ";
-function output_link_to_user_page($email,$password)
-{
- echo "
\n";
- echo "\n";
echo "
\n";
-
- return;
-}
-function output_register()
-{
- echo "IMPORTANT: passwords are going over the net as clear text, so pick an easy password. No need to pick anything complicated here ;)
";
- echo "TODO: convert timezone into a menu \n";
- echo "TODO: figure out a way to handle passwrods \n";
- ?>
-
-\n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
+ echo " \n";
echo " \n";
echo " \n";
- echo "\n";
return;
}
@@ -111,11 +62,10 @@ function output_form_for_new_game($names)
echo " \n";
}
echo " \n";
- unset($names[$randkey]);
}
?>
Rules
-
+
Some areas are grayed out which means that the rule is not implemented yet and therefore cannot be selected
ten of hearts:
just normal non-trump
@@ -123,48 +73,60 @@ function output_form_for_new_game($names)
second ten of hearts wins the trick
-
schweinchen (both foxes):
+
schweinchen (both foxes), only in normal games or silent solos:
-
none
-
both become highest trump (call at beginning of the game)(doesn't work yet)
-
first one normal, second one becomes highest (call during the game) (doesn't work yet)
-
second one become highest only in case re/contra was announced (doesn't work yet)
-
+
none
+
+ both become highest trump (automatic call at beginning of the game)
+
+
+ first one normal, second one becomes highest (call during the game)
+
+ second one become highest only in case re/contra was announced (not working yet)
+
+
-
+
Call Re/Contra, etc.:
+
+
+ Can call re/contra on the first own card played, 90 on the second, etc.
+
+ Can call re/contra until 5th card is played, 90 until 9th card is played, etc.
+
+ Can call re/contra until 5th card is played, 90 if player still has 9 cards, etc.