<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>
</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">
<span>Change Log</span>
</h2>
<ul>
+ <li>
+ This is computer science. Trees are non-negociable.
+ (asset contributed by
+ <a href="https://www.codingame.com/profile/f529ecfbb6cc3b402a40027fd38beec14437821">
+ Alshock
+ </a>)
+ </li>
+ <li>
+ Don't destroy the castle if the troll doesn't reach it.
+ </li>
+ <li>
+ Ensure proper troll movement direction in all cases of
+ cheating.
+ </li>
<li>
Fixed the road length fencepost non-issue.
</li>
— J.R.R. Tolkien, <i>The Hobbit</i>
</div>
- <hr>
+ <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é-Lovichi
+ </a>.
+ </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é-Lovichi
- </a>.
+ <p>
+ The source code for this game
+ <a href="https://troll.desast.re/troll.git">is available</a>.
+ </p>
</div>
</div>
</div>