-read roadLength:int initialStones:int gameSeed:long
+read roadLength:int initialStones:int gameSeed:long gameSide:int reserved:int
gameloop
read trollDistance:int stones:int opponentStones:int
write 1
roadLength: the distance (even) between both castles. The troll starts at half that distance.
initialStones: the number of stones each castle starts with.
gameSeed: a random number to salt and help make your games more reproducible.
+gameSide: a suggested partial salt to help make your reproducible games more interesting.
+reserved: first unused parameter. There may be more to come.
trollDistance: distance between the troll and your castle. Keep it above zero!
stones: number of stones you have left.
opponentStones: number of stones your opponent has left.