X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Foutput.php;h=135fe130d7e9aba56129a1490dd9d044bf89e367;hp=6823b4db6ae33f628cfe8e0c068b32824188a607;hb=850378a3e2da48d387dc565cc6e3c2b47f12e34d;hpb=c1585e23cb3ea757674c234c9193889b4f2f2090
diff --git a/include/output.php b/include/output.php
index 6823b4d..135fe13 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?