LOL-hotfix: right castle was closer to the troll's starting point than left one
[troll.git] / src / main / java / com / codingame / game / Referee.java
index 2a7afd9..685b458 100644 (file)
@@ -61,7 +61,7 @@ public class Referee extends AbstractReferee {
         p0.sendInputLine(String.format("%d %d", roadLength, initialStones));
 
         p1 = gameManager.getPlayer(1);
-        p1.setCastlePosition(roadLength-1);
+        p1.setCastlePosition(roadLength);
         p1.setMultiplier(-1);
         p1.adjustScore(trollPosition);
         p1.sendInputLine(String.format("%d %d", roadLength, initialStones));