X-Git-Url: https://troll.desast.re/troll.git/blobdiff_plain/33d43e0a726d9cb3256489d0b39feebbbb3304a4..7b8732a6aba5c34e24aa324a25e2fae37f7149a7:/config/statement_en.html?ds=sidebyside diff --git a/config/statement_en.html b/config/statement_en.html index 83c0e4e..b5f784b 100644 --- a/config/statement_en.html +++ b/config/statement_en.html @@ -1,4 +1,4 @@ -
+ This place used to read: âJust read the sample code. You can + figure this out.â Here are the formalities for that + other part of the audience. +
++ Your first line of input contains space-separated + parameters: + roadLength initialStones + gameSeed gameSide + reserved1 … reservedN +
+gameSeed
to have a
+ (reproducible) random that doesn't mecessarily draw
+ when it plays against itself.
+ + At each turn, you are provided with the following three + space-separated values: + trollDistance + stones + opponentStones +
++ After having received your turn input, you are to output + a single integer stones: the number of stones + you wish to throw at the troll. +
++ You may optionally provide a message you wish + your castle to yell at the troll or at your opponent. + Just append it to your output, being sure to separate it + with at least one space. + +
++ 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. +
++ In the lower leagues, the following maps are currently + available and randomly yet extremely fairly (you wouldn't + believe the effort that went into this) chosen uniformly at + random among the following: +
+Road length | +Stones | +
---|---|
+ You can also override them via game + settings roadLength and initialStones, + so long as you remember you won't be choosing them for + ranking play. +
++ I'm not maintaining the full changelog here anymore as the + game's source + repository 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. +
++ This draft's last change is: + + game seed is sent in inputs. + +
++ Based on an involuntary suggestion by + + Zaap38 + + on the #Fr channel. The original appears to be by + + Romain André-Lovichi + . +
+