foxes should now work correctly
[e-DoKo.git] / output.php
index 721858f51d1615bb43e6cdfbbdfefad7afcd65d1..ba3c47352b92987f6edd89588c5e86f13b8aa12e 100644 (file)
@@ -39,7 +39,7 @@ 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 ;)<br /><br />";
   echo "TODO: convert timezone into a menu<br />\n";
 {
   echo "IMPORTANT: passwords are going over the net as clear text, so pick an easy password. No need to pick anything complicated here ;)<br /><br />";
   echo "TODO: convert timezone into a menu<br />\n";
-  echo "TODO: figure out a way to handle passwrods <br />\n";
+  echo "TODO: figure out a way to handle passwords <br />\n";
   ?>
         <form action="index.php" method="post">
           <fieldset>
   ?>
         <form action="index.php" method="post">
           <fieldset>
@@ -111,11 +111,10 @@ function output_form_for_new_game($names)
        echo "     <option>$name</option>\n";
     }
     echo "  </select>\n";
        echo "     <option>$name</option>\n";
     }
     echo "  </select>\n";
-    unset($names[$randkey]);
    }
 ?>   
    <h2> Rules </h2> 
    }
 ?>   
    <h2> Rules </h2> 
-      
+      <p> Some areas are grayed out which means that the rule is not implemented yet and therefore cannot be selected </p>
       <p> ten of hearts: 
          <ul>
          <li> <input type="radio" name="dullen" value="none" /> just normal non-trump  </li>
       <p> ten of hearts: 
          <ul>
          <li> <input type="radio" name="dullen" value="none" /> just normal non-trump  </li>
@@ -123,15 +122,20 @@ function output_form_for_new_game($names)
          <li> <input type="radio" name="dullen" value="secondwins" checked="checked" /> second ten of hearts wins the trick </li>
          </ul>
       </p>
          <li> <input type="radio" name="dullen" value="secondwins" checked="checked" /> second ten of hearts wins the trick </li>
          </ul>
       </p>
-      <p> schweinchen (both foxes): 
+      <p> schweinchen (both foxes), only in normal games or silent solos
         <ul>
         <ul>
-        <li> <input type="radio" name="schweinchen" value="none" /> none </li>
-      <li> <input type="radio" name="schweinchen" value="both" /> both become highest trump (call at beginning of the game)(doesn't work yet) </li>
-        <li> <input type="radio" name="schweinchen" value="second" checked="checked" /> first one normal, second one becomes highest (call during the game) (doesn't work yet) </li>
-      <li> <input type="radio" name="schweinchen" value="secondaftercall"  /> second one become highest only in case re/contra was announced (doesn't work yet)</li>
-      </ul>
+        <li> <input type="radio" name="schweinchen" value="none" checked="checked" /> none </li>
+        <li> <input type="radio" name="schweinchen" value="both" /> 
+              both become highest trump (automatic call at beginning of the game)
+        </li>
+        <li> <input type="radio" name="schweinchen" value="second" /> 
+              first one normal, second one becomes highest (call during the game) </li>
+        <li> <input type="radio" name="schweinchen" value="secondaftercall"  disabled="disabled" /> 
+      second one become highest only in case re/contra was announced (not working yet)
+        </li>
+        </ul>
       </p>
       </p>
-   
+      
    <input type="submit" value="start game" />
  </form>
 <?php
    <input type="submit" value="start game" />
  </form>
 <?php