X-Git-Url: https://troll.desast.re/troll.git/blobdiff_plain/83de865a87657f62bc949433539351945bd04314..20c63dac92d830a4c61f6d17ecfb8e7e0d04e58d:/config/statement_en.html diff --git a/config/statement_en.html b/config/statement_en.html index 89a0e27..3145916 100644 --- a/config/statement_en.html +++ b/config/statement_en.html @@ -16,55 +16,10 @@ <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> - </div> - <div class="statement-section statement-warning"> - <h2> - <span class="icon icon-warning"> </span> - <span>Breaking Change</span> - </h2> - <p> - The <var>roadLength</var> game input variable used to be the - cardinal number of positions the troll could be in. That's the - way it was presented in the original game, but I leaned more - towards distances to make the I/O protocol easier on beginners. - So it's currently inconsistent. - </p> - <p> - This is going to change in the following days to be a distance - everywhere, more in line with the protocol's other measures. - Not to mention being somewhat more consistent with the variable - name. Thanks - <a href="https://www.codingame.com/profile/c4a50746f425cb125f77487aaf51350c7258821"> - @Snef - </a> - for reminding me of this. - </p> - <p> - If you used this variable, I suggest you temporarily used one - of these workarounds so you don't get bit by the upcoming - change: - </p> - <table> - <tr><th>Former use</th><th>As a</th><th>Try this</th></tr> - <tr> - <td><pre>roadLength - 1</pre></td> - <td><pre>distance to opponent</pre></td> - <td><pre>roadLength & (~1)</pre></td> - </tr> - <tr> - <td><pre>roadLength</pre></td> - <td><pre>number of troll states</pre></td> - <td><pre>roadLength | 1</pre></td> - </tr> - <tr> - <td><pre>roadLength + 1</pre></td> - <td><pre>I have no idea</pre></td> - <td><pre>(roadLength + 1) & (-1)</pre></td> - </tr> - </table> + 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> @@ -136,6 +91,10 @@ </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 ms then, but don't + quote me on this. </div> </div> <div class="statement-section statement-expertrules"> @@ -151,10 +110,10 @@ </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 @@ -169,6 +128,9 @@ <span>Change Log</span> </h2> <ul> + <li> + Fixed the road length fencepost non-issue. + </li> <li> Of course that game needed MSG functionality! </li> @@ -198,6 +160,15 @@ <div class="statement-story" style="position: relative; min-height: min-content"> <div class="story-text"> + <div style="text-align: center"> + “Trolls simply detest the very sight of dwarves (uncooked).” + </div> + <div style="text-align: right"> + — J.R.R. Tolkien, <i>The Hobbit</i> + </div> + + <hr> + Based on an involuntary suggestion by <span class="card" cg-codingamer-card-popup="" userid="user.codingamer.userId">