X-Git-Url: https://troll.desast.re/troll.git/blobdiff_plain/a78210b2e4295eaf8dee8215d4ffe5e062b4efb3..1283a2efac37c95016224dd832ebac81ce8a99d7:/src/main/java/com/codingame/game/Player.java?ds=sidebyside diff --git a/src/main/java/com/codingame/game/Player.java b/src/main/java/com/codingame/game/Player.java index 63f9e50..936a3f5 100644 --- a/src/main/java/com/codingame/game/Player.java +++ b/src/main/java/com/codingame/game/Player.java @@ -1,6 +1,7 @@ package com.codingame.game; import java.util.List; +import java.util.Random; import java.util.regex.Pattern; import java.util.Scanner; @@ -23,8 +24,9 @@ public class Player extends AbstractMultiplayerPlayer { // same-typed positional parameters… a disaster waiting to happen void gameInit(int roadLength, int initialStones, long seed) { - sendInputLine(String.format("%d %d %d", - roadLength, initialStones, seed)); + sendInputLine(String.format("%d %d %d %d 0", + roadLength, initialStones, seed, + model.getMultiplier())); } void sendGameTurn() {