package com.codingame.game;
import java.util.List;
+import java.util.Random;
import java.util.regex.Pattern;
import java.util.Scanner;
}
// 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() {