X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Foutput.php;h=79e42c276f130c879ee10f06deb9af6392b40b09;hp=e4a06e8f078488ae373a192cf2f03607052989da;hb=83fc1a851c69e13808d14f2d5a284c3369409018;hpb=4b622dbdb85fbb3512a881ec4786a05f6cd4701c
diff --git a/include/output.php b/include/output.php
index e4a06e8..79e42c2 100644
--- a/include/output.php
+++ b/include/output.php
@@ -1,4 +1,23 @@
+ *
+ * This file is part of e-DoKo.
+ *
+ * e-DoKo is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * e-DoKo is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with e-DoKo. If not, see .
+ *
+ */
+
/* make sure that we are not called from outside the scripts,
* use a variable defined in config.php to check this
*/
@@ -12,7 +31,7 @@ function output_ask_for_new_game($playerA,$playerB,$playerC,$playerD,$oldgameid)
global $RULES;
echo "
\n
-
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
-
-
-
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.
-
-
-
+
Rules
+
Gameplay-related
+
Ten of hearts:
+
+
+
+
Schweinchen (both foxes), only in normal games or silent solos:
+
+
+
+
Call Re/Contra, etc.:
+
+
+
+
Low trump
+
+ Player can't trump a fox, that is none of his trump is higher than a fox.
+
+
";
}
foreach($record as $point)
{
@@ -183,10 +214,11 @@ function display_link_card($card,$dir="english",$type="card")
function output_check_for_sickness($me,$mycards)
{
+ global $RULES;
?>
Thanks for joining the game...
- do you want to play solo?
+ Do you want to play solo?