Make game parameters overridable through game settings
[troll.git] / config / statement_en.html
index 476de50..428577f 100644 (file)
        <span>Rules</span> 
      </h2> 
      <div class="statement-rules-content">
        <span>Rules</span> 
      </h2> 
      <div class="statement-rules-content">
-       You <em>have</em> to shoot at least <const>1</const> stone per
-       turn if you have any left.
-     </div> 
+       If you have stones, shoot <const>1</const> or more of them.
+       <br>
+       If you don't have stones, shoot <const>0</const> exactly.
+     </div>
    </div>
    <div class="statement-section statement-warning">
      <h2>
    </div>
    <div class="statement-section statement-warning">
      <h2>
      </h2>
      <div class="statement-protocol-content">
        Just read the sample code.  You can figure this out.
      </h2>
      <div class="statement-protocol-content">
        Just read the sample code.  You can figure this out.
+       <br>
+       You're currently allowed the default SDK timings.  I think it's
+       one second for the first turn and 50&nbsp;ms then, but don't
+       quote me on this.
      </div>
    </div>
    <div class="statement-section statement-expertrules">
      <h2>
        <span class="icon icon-expertrules">&nbsp;</span>
      </div>
    </div>
    <div class="statement-section statement-expertrules">
      <h2>
        <span class="icon icon-expertrules">&nbsp;</span>
-       <span>Maps</span>
+       <span>Expert rules</span>
      </h2>
      <div class="statement-expert-rules-content">
        <p>
      </h2>
      <div class="statement-expert-rules-content">
        <p>
        </p>
        <table>
          <tr><th>Road length</th><th>Stones</th></tr>
        </p>
        <table>
          <tr><th>Road length</th><th>Stones</th></tr>
-         <tr><td><const>7</const></td><td><const>15</const></td></tr>
-         <tr><td><const>7</const></td><td><const>30</const></td></tr>
-         <tr><td><const>15</const></td><td><const>30</const></td></tr>
-         <tr><td><const>15</const></td><td><const>50</const></td></tr>
+         <tr><td><const>6</const></td><td><const>15</const></td></tr>
+         <tr><td><const>6</const></td><td><const>30</const></td></tr>
+         <tr><td><const>14</const></td><td><const>30</const></td></tr>
+         <tr><td><const>14</const></td><td><const>50</const></td></tr>
        </table>
        <p>
          As with anything in this <em>draft</em> statement, this
          is <strong>subject to change without notice</strong>.  Why do
          you think they're provided in the game input?
        </p>
        </table>
        <p>
          As with anything in this <em>draft</em> statement, this
          is <strong>subject to change without notice</strong>.  Why do
          you think they're provided in the game input?
        </p>
+       <p>
+         You can also override them via game
+         settings <tt>roadLength</tt> and <tt>initialStones</tt>.
+       </p>
      </div>
    </div>
    <div class="statement-section statement-protocol">
      </div>
    </div>
    <div class="statement-section statement-protocol">
        <span class="icon icon-protocol">&nbsp;</span>
        <span>Change Log</span>
      </h2>
        <span class="icon icon-protocol">&nbsp;</span>
        <span>Change Log</span>
      </h2>
-     <ul>
-       <li>
-         Enforce the one-stone rule.  (that also fixed the legacy
-         buh&mdash;sorry people!  I put an easter egg in exchange)
-       </li>
-       <li>
-         Cutesy defeat animations.
-       </li>
-       <li>
-         Distinct castle sprites!
-       </li>
-       <li>
-         Terminate game when there are no more stones in sight.
-       </li>
-       <li>
-         More pretty. (SRLSLY)
-       </li>
-       <li>
-         No more void maps. (root cause: Java <const>%</const> on a
-         negative seed)
-       </li>
-     </ul>
+     <p>
+       I'm not maintaining the full changelog here anymore as the
+       <a href="https://troll.desast.re/troll.git">game's source
+       repository</a> is now publicly available.  I'll just make note
+       of the single latest change, so you can know how far behind you
+       were lagging.  Patches welcome, BTW.
+     </p>
+     <p>
+       This draft's last change is:
+       <strong>
+         game parameters can be overridden.
+       </strong>
+     </p>
    </div>
    <div class="statement-story-background">
      <div class="statement-story"
           style="position: relative; min-height: min-content">
        <div class="story-text">
    </div>
    <div class="statement-story-background">
      <div class="statement-story"
           style="position: relative; min-height: min-content">
        <div class="story-text">
-         Based on an involuntary suggestion by
-         <span class="card" cg-codingamer-card-popup=""
-               userid="user.codingamer.userId">
-           <a class="pseudo"
-              href="/profile/dbfa96e0ac9b77a3db679628f27224ae8509333"
-              title="Zaap38">Zaap38</a>
-         </span>
-         on the #Fr channel.  The original appears to be by
-         <a href="http://andre.lovichi.free.fr/teaching/ea/2015-2016/cours/troll/Trolls_et_chateaux.pdf">
-           Romain Andr&eacute;-Lovichi
-         </a>.
+         <div style="text-align: center">
+           &ldquo;Trolls simply detest the very sight of dwarves (uncooked).&rdquo;
+         </div>
+         <div style="text-align: right">
+           &mdash;&nbsp;J.R.R. Tolkien, <i>The Hobbit</i>
+         </div>
+       </div>
+       <div class="story-text">
+         <p>
+           Based on an involuntary suggestion by
+           <span class="card" cg-codingamer-card-popup=""
+                 userid="user.codingamer.userId">
+             <a class="pseudo"
+                href="/profile/dbfa96e0ac9b77a3db679628f27224ae8509333"
+                title="Zaap38">Zaap38</a>
+           </span>
+           on the #Fr channel.  The original appears to be by
+           <a href="http://andre.lovichi.free.fr/teaching/ea/2015-2016/cours/troll/Trolls_et_chateaux.pdf">
+             Romain Andr&eacute;-Lovichi
+           </a>.
+         </p>
        </div>
      </div>
    </div>
        </div>
      </div>
    </div>