Send game seed in inputs. Update HTML.
[troll.git] / config / stub.txt
index 88c3d38..76ff251 100644 (file)
@@ -1,4 +1,4 @@
-read roadLength:int initialStones:int
+read roadLength:int initialStones:int gameSeed:long
 gameloop
 read trollDistance:int stones:int opponentStones:int
 write 1
@@ -7,11 +7,12 @@ STATEMENT
 Keep the troll out of your castle!
 
 INPUT
-roadLength: the length of the road between both castles. The troll starts in the middle.
-initialStones: the number of stones each castle starts with
+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.
 trollDistance: distance between the troll and your castle. Keep it above zero!
-stones: number of stones left
-opponentStones: number of stones left to your opponent
+stones: number of stones you have left.
+opponentStones: number of stones your opponent has left.
 
 OUTPUT
-number of stones to shoot at the troll
+number of stones to shoot at the troll.