1 <div class="statement-body">
3 <div class="statement-section statement-goal">
5 <span class="icon icon-goal"> </span>
8 <div class="statement-goal-content">
9 Don't get destroyed by the troll.
13 <div class="statement-section statement-rules">
15 <span class="icon icon-rules"> </span>
18 <div class="statement-rules-content">
19 You <em>have</em> to shoot at least <const>1</const> stone per
20 turn if you have any left.
23 <div class="statement-section statement-expertrules">
25 <span class="icon icon-expertrules"> </span>
26 <span>Rule Evolution</span>
28 <div class="statement-expert-rules-content">
29 The following points are still ideas in flux, waiting for some
30 opinions (leave a comment on the draft submission page!)
33 Is it even worth publishing? can the problem be totally solved?
36 More maps? (a map is a {road length} × {initial stone count} pair)
39 Leagues? I could conceive the referee being permissive
40 (allow 0 stones thrown) in the first one, and then strict.
43 Fog of war? (see only troll position, not enemy throw/stones left)
46 <strong>variable</strong> for of war? (seeing enemy stones
47 is a boolean decided randomly as part of the map?
50 alternative fog of war? (seeing enemy stones only when
51 troll is close to us?)
54 Praise for my artistic skillz
62 <div class="statement-victory-conditions">
63 <div class="icon victory"></div>
65 <div class="title">Victory Condition</div>
66 <div class="text">Your opponent loses.</div>
69 <div class="statement-lose-conditions">
70 <div class="icon lose"></div>
72 <div class="title">Defeat Condition</div>
74 <li>The troll reaches your castle.</li>
75 <li>When no player has stones left, the troll is closer to your castle.</li>
79 <div class="statement-section statement-protocol">
81 <span class="icon icon-protocol"> </span>
82 <span>I/O Protocol</span>
84 <div class="statement-protocol-content">
85 Just read the sample code. You can figure this out.
88 <div class="statement-section statement-changelog">
92 Enforce the one-stone rule. (that also fixed the legacy
93 buh—sorry people! I put an easter egg in exchange)
96 Cutesy defeat animations.
99 Distinct castle sprites!
102 Terminate game when there are no more stones in sight.
105 More pretty. (SRLSLY)
108 No more void maps. (root cause: Java <const>%</const> on a
113 <div class="statement-story-background">
114 <div class="statement-story"
115 style="position: relative; min-height: min-content">
116 <div class="story-text">
117 Based on an involuntary suggestion by
118 <span class="card" cg-codingamer-card-popup=""
119 userid="user.codingamer.userId">
121 href="/profile/dbfa96e0ac9b77a3db679628f27224ae8509333"
122 title="Zaap38">Zaap38</a>
124 on the #Fr channel. The original appears to be by
125 <a href="http://andre.lovichi.free.fr/teaching/ea/2015-2016/cours/troll/Trolls_et_chateaux.pdf">
126 Romain André-Lovichi