X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=output.php;h=aed86b27e31cda0471227f9b6f8f66f98a3a3a8b;hp=32dbd7b86bce476577aae389e90696bc9125875e;hb=2a95396715b96617efcc4f167352581b8ef0d688;hpb=594f6737e0206bf80b636afa828cc80c21a0945d
diff --git a/output.php b/output.php
index 32dbd7b..aed86b2 100644
--- a/output.php
+++ b/output.php
@@ -2,132 +2,148 @@
/* functions which only ouput html */
-function display_status($gametype)
+function output_user_settings()
{
- 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;
-}
-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;
}
-function output_form_for_new_game()
+function output_form_for_new_game($names)
{
?>
-
Please add 4 names, please make sure that the names are correct!
+
Players
+
Please select four players (or use the randomly pre-selected names)
+
Remember: you need to be one of the players ;)
+
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
+
first ten of hearts wins the trick
+
second ten of hearts wins the trick
+
+
+
Schweinchen (both foxes), only in normal games or silent solos:
+
+
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.