Ça trolle…
/
troll.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Endgame status must spring out of opposite corner, not always lower right
[troll.git]
/
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
63f9e50
..
936a3f5
100644
(file)
--- 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;
package com.codingame.game;
import java.util.List;
+import java.util.Random;
import java.util.regex.Pattern;
import java.util.Scanner;
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) {
// 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() {
}
void sendGameTurn() {