Ça trolle…
/
troll.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Time rationalization
[troll.git]
/
config
/
stub.txt
diff --git
a/config/stub.txt
b/config/stub.txt
index
886ec28
..
67a9f70
100644
(file)
--- a/
config/stub.txt
+++ b/
config/stub.txt
@@
-1,4
+1,4
@@
-read roadLength:int initialStones:int
+read roadLength:int initialStones:int
gameSeed:long gameSide:int reserved:int
gameloop
read trollDistance:int stones:int opponentStones:int
write 1
gameloop
read trollDistance:int stones:int opponentStones:int
write 1
@@
-9,9
+9,12
@@
Keep the troll out of your castle!
INPUT
roadLength: the distance (even) between both castles. The troll starts at half that distance.
initialStones: the number of stones each castle starts with.
INPUT
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!
trollDistance: distance between the troll and your castle. Keep it above zero!
-stones: number of stones left.
-opponentStones: number of stones
left to your opponen
t.
+stones: number of stones
you have
left.
+opponentStones: number of stones
your opponent has lef
t.
OUTPUT
number of stones to shoot at the troll.
OUTPUT
number of stones to shoot at the troll.