Send game seed in inputs. Update HTML.
[troll.git] / config / stub.txt
1 read roadLength:int initialStones:int gameSeed:long
2 gameloop
3 read trollDistance:int stones:int opponentStones:int
4 write 1
5
6 STATEMENT
7 Keep the troll out of your castle!
8
9 INPUT
10 roadLength: the distance (even) between both castles. The troll starts at half that distance.
11 initialStones: the number of stones each castle starts with.
12 gameSeed: a random number to salt and help make your games more reproducible.
13 trollDistance: distance between the troll and your castle. Keep it above zero!
14 stones: number of stones you have left.
15 opponentStones: number of stones your opponent has left.
16
17 OUTPUT
18 number of stones to shoot at the troll.