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.
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 left.
+opponentStones: number of stones left to your opponent.
OUTPUT
-number of stones to shoot at the troll
+number of stones to shoot at the troll.