From: JBM Date: Thu, 21 May 2020 21:45:43 +0000 (+0200) Subject: LOL-hotfix: right castle was closer to the troll's starting point than left one X-Git-Url: https://troll.desast.re/troll.git/commitdiff_plain/927d39e66672341d9d1e281accf0633747ea715f?ds=inline;hp=0b7ed55b82393c2789abc94702793d18ad24b0e6 LOL-hotfix: right castle was closer to the troll's starting point than left one --- diff --git a/src/main/java/com/codingame/game/Referee.java b/src/main/java/com/codingame/game/Referee.java index 2a7afd9..685b458 100644 --- a/src/main/java/com/codingame/game/Referee.java +++ b/src/main/java/com/codingame/game/Referee.java @@ -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));