That fencepost inconsistency turned out NOT to be a breaking change.
[troll.git] / config / statement_en.html
1 <div class="statement-body">
2    <!-- GOAL --> 
3    <div class="statement-section statement-goal"> 
4      <h2> 
5        <span class="icon icon-goal">&nbsp;</span> 
6        <span>The Goal</span> 
7      </h2> 
8      <div class="statement-goal-content"> 
9        Don't get destroyed by the troll.
10      </div>
11    </div> 
12    <!-- RULES --> 
13    <div class="statement-section statement-rules"> 
14      <h2> 
15        <span class="icon icon-rules">&nbsp;</span> 
16        <span>Rules</span> 
17      </h2> 
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.
21      </div> 
22    </div>
23    <div class="statement-section statement-warning">
24      <h2>
25        <span class="icon icon-warning">&nbsp;</span>
26        <span>Rule Evolution</span>
27      </h2>
28      <div class="statement-warning-content">
29        The following ideas are still in flux, waiting for some
30        opinions.  Please drop a word on the
31        <a href="https://www.codingame.com/contribute/view/507070b7925f661e2d2835c14f950b9d157e">
32          contribution's page
33        </a>
34        or
35        <a href="https://forum.codingame.com/t/troll-vs-castles-brainstorm/184827?u=jbm">
36          on the forum
37        </a>
38        <ul>
39          <li>
40            Is it even worth publishing? can the problem be totally solved?
41          </li>
42          <li>
43            More maps? (a map is a {road length} × {initial stone count} pair)
44          </li>
45          <li>
46            Leagues? I could conceive the referee being permissive
47            (allow 0 stones thrown) in the first one, and then strict.
48          </li>
49          <li>
50            Fog of war? (see only troll position, not enemy throw/stones left)
51          </li>
52          <li>
53            <strong>variable</strong> for of war? (seeing enemy stones
54            is a boolean decided randomly as part of the map?
55          </li>
56          <li>
57            alternative fog of war? (seeing enemy stones only when
58            troll is close to us?)
59          </li>
60          <li>
61            Praise for my artistic skillz
62          </li>
63          <li>
64            Other remarks?
65          </li>
66        </ul>
67      </div>
68    </div>
69    <div class="statement-victory-conditions">
70      <div class="icon victory"></div>
71      <div class="blk">
72        <div class="title">Victory Condition</div>
73        <div class="text">Your opponent loses.</div>
74      </div>
75    </div>
76    <div class="statement-lose-conditions">
77      <div class="icon lose"></div>
78      <div class="blk">
79        <div class="title">Defeat Condition</div>
80        <ul>
81          <li>The troll reaches your castle.</li>
82          <li>When no player has stones left, the troll is closer to your castle.</li>
83        </ul>
84      </div>
85    </div>
86    <div class="statement-section statement-protocol">
87      <h2>
88        <span class="icon icon-protocol">&nbsp;</span>
89        <span>I/O Protocol</span>
90      </h2>
91      <div class="statement-protocol-content">
92        Just read the sample code.  You can figure this out.
93      </div>
94    </div>
95    <div class="statement-section statement-expertrules">
96      <h2>
97        <span class="icon icon-expertrules">&nbsp;</span>
98        <span>Maps</span>
99      </h2>
100      <div class="statement-expert-rules-content">
101        <p>
102          The following maps are currently available and randomly yet
103          extremely fairly (you wouldn't believe the effort that went
104          into this) chosen uniformly at random among the following:
105        </p>
106        <table>
107          <tr><th>Road length</th><th>Stones</th></tr>
108          <tr><td><const>6</const></td><td><const>15</const></td></tr>
109          <tr><td><const>6</const></td><td><const>30</const></td></tr>
110          <tr><td><const>14</const></td><td><const>30</const></td></tr>
111          <tr><td><const>14</const></td><td><const>50</const></td></tr>
112        </table>
113        <p>
114          As with anything in this <em>draft</em> statement, this
115          is <strong>subject to change without notice</strong>.  Why do
116          you think they're provided in the game input?
117        </p>
118      </div>
119    </div>
120    <div class="statement-section statement-protocol">
121      <h2>
122        <span class="icon icon-protocol">&nbsp;</span>
123        <span>Change Log</span>
124      </h2>
125      <ul>
126        <li>
127          Fixed the road length fencepost non-issue.
128        </li>
129        <li>
130          Of course that game needed MSG functionality!
131        </li>
132        <li>
133          Enforce the one-stone rule.  (that also fixed the legacy
134          buh&mdash;sorry people!  I put an easter egg in exchange)
135        </li>
136        <li>
137          Cutesy defeat animations.
138        </li>
139        <li>
140          Distinct castle sprites!
141        </li>
142        <li>
143          Terminate game when there are no more stones in sight.
144        </li>
145        <li>
146          More pretty. (SRLSLY)
147        </li>
148        <li>
149          No more void maps. (root cause: Java <const>%</const> on a
150          negative seed)
151        </li>
152      </ul>
153    </div>
154    <div class="statement-story-background">
155      <div class="statement-story"
156           style="position: relative; min-height: min-content">
157        <div class="story-text">
158          <div style="text-align: center">
159            &ldquo;Trolls simply detest the very sight of dwarves (uncooked).&rdquo;
160          </div>
161          <div style="text-align: right">
162            &mdash;&nbsp;J.R.R. Tolkien, <i>The Hobbit</i>
163          </div>
164
165          <hr>
166
167          Based on an involuntary suggestion by
168          <span class="card" cg-codingamer-card-popup=""
169                userid="user.codingamer.userId">
170            <a class="pseudo"
171               href="/profile/dbfa96e0ac9b77a3db679628f27224ae8509333"
172               title="Zaap38">Zaap38</a>
173          </span>
174          on the #Fr channel.  The original appears to be by
175          <a href="http://andre.lovichi.free.fr/teaching/ea/2015-2016/cours/troll/Trolls_et_chateaux.pdf">
176            Romain Andr&eacute;-Lovichi
177          </a>.
178        </div>
179      </div>
180    </div>
181 </div>