X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=output.php;h=5d84d46c50f227d7b41690e665c16c1df13db5dc;hp=000c2b2227b061ee405e1268a11cf15289959ca7;hb=acf6c5f97944366952e6b373a4d59cecd08b658e;hpb=f91a22b698415eacda6af7403814caa6f34ad7e5
diff --git a/output.php b/output.php
index 000c2b2..5d84d46 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".
- " added local time display, let me know what you think \n".
- " 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.