X-Git-Url: https://troll.desast.re/troll.git/blobdiff_plain/a84694eef16ad5adc468a7e1417ec9b8af8cd72e..2e02ad69d3b3c4e270682b31969f6662f2aaa101:/config/statement_en.html?ds=sidebyside diff --git a/config/statement_en.html b/config/statement_en.html index 476de50..89a0e27 100644 --- a/config/statement_en.html +++ b/config/statement_en.html @@ -20,6 +20,52 @@ turn if you have any left. +
+

+   + Breaking Change +

+

+ The roadLength 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. +

+

+ 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 + + @Snef + + for reminding me of this. +

+

+ If you used this variable, I suggest you temporarily used one + of these workarounds so you don't get bit by the upcoming + change: +

+ + + + + + + + + + + + + + + + + +
Former useAs aTry this
roadLength - 1
distance to opponent
roadLength & (~1)
roadLength
number of troll states
roadLength | 1
roadLength + 1
I have no idea
(roadLength + 1) & (-1)
+

  @@ -123,6 +169,9 @@ Change Log