X-Git-Url: https://troll.desast.re/troll.git/blobdiff_plain/b41b9823fbe2eed146db478fd5a1353bb558215c..c6444a57cd4f106c6b64dc7c02ef8cc594067d8e:/src/main/java/com/codingame/game/Player.java diff --git a/src/main/java/com/codingame/game/Player.java b/src/main/java/com/codingame/game/Player.java index e73482a..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; @@ -22,8 +23,10 @@ public class Player extends AbstractMultiplayerPlayer { } // same-typed positional parameters… a disaster waiting to happen - void gameInit(int roadLength, int initialStones) { - sendInputLine(String.format("%d %d", roadLength, initialStones)); + void gameInit(int roadLength, int initialStones, long seed) { + sendInputLine(String.format("%d %d %d %d 0", + roadLength, initialStones, seed, + model.getMultiplier())); } void sendGameTurn() {