X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=output.php;h=8dc0c2e4c473bacb02c8373e3aff077278cbc951;hp=911c1842c90f8ef79ff40001cbb40573ba2133b6;hb=672791e22e1de68e278e2f0d5c6d7331d5994ecb;hpb=97cd169690383b731eedeb13586e07788ee166ce
diff --git a/output.php b/output.php
index 911c184..8dc0c2e 100644
--- a/output.php
+++ b/output.php
@@ -2,132 +2,147 @@
/* 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)
+
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.