Send game seed in inputs. Update HTML.
[troll.git] / src / main / java / com / codingame / game / Player.java
index e73482a..63f9e50 100644 (file)
@@ -22,8 +22,9 @@ 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",
+                                    roadLength, initialStones, seed));
     }
 
     void sendGameTurn() {