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:
-
+
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)
+ 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.
-
-
+
+
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.
\n";
+
+ return $HTML;
+}
+
function display_card($card,$dir="english")
{
/* cards are only availabl for the odd values, e.g. 1.png, 3.png, ...
* convert even cards to the matching odd value */
- if( $card/2 - (int)($card/2) == 0.5)
+ if( $card/2 - (int)($card/2) == 0.5 || $card == 0)
echo "\n";
else
echo "\n";
@@ -179,11 +221,18 @@ function output_check_for_sickness($me,$mycards)
return;
}
-function output_form_calls($me)
+function output_form_calls($me,$myparty)
{
if( can_call(120,$me) )
- echo " re/contra (120):".
- " ";
+ {
+ if($myparty=='re')
+ echo "re (120):";
+ else if ($myparty=='contra')
+ echo "contra (120):";
+ else
+ echo " re/contra (120):";
+ echo " ";
+ }
if( can_call(90,$me) )
echo " 90:".
" ";
@@ -228,48 +277,12 @@ function output_header()
e-Doko
-
-
+
+
-
Welcome to E-Doko (beta)
+
Welcome to E-Doko
der Spielkartenfabrik Altenburg GmbH,(c) ASS Altenburger \n".
" - ASS Altenburger Spielkarten - Spielkartenfabrik Altenburg GmbH \n".
" a Carta Mundi Company Email: info@spielkarten.com Internet: www.spielkarten.com\n";
- echo "