Ça trolle…
/
troll.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0b7ed55
)
LOL-hotfix: right castle was closer to the troll's starting point than left one
author
JBM
<jbm@codingame.com>
Thu, 21 May 2020 21:45:43 +0000
(23:45 +0200)
committer
JBM
<jbm@codingame.com>
Wed, 27 May 2020 14:53:54 +0000
(16:53 +0200)
src/main/java/com/codingame/game/Referee.java
patch
|
blob
|
history
diff --git
a/src/main/java/com/codingame/game/Referee.java
b/src/main/java/com/codingame/game/Referee.java
index
2a7afd9
..
685b458
100644
(file)
--- 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));