equal
deleted
inserted
replaced
13 import ru.alphatech.icfpc.game.strategy.IStrategy; |
13 import ru.alphatech.icfpc.game.strategy.IStrategy; |
14 import ru.alphatech.icfpc.game.strategy.SimplyStrategy; |
14 import ru.alphatech.icfpc.game.strategy.SimplyStrategy; |
15 |
15 |
16 public class Run |
16 public class Run |
17 { |
17 { |
|
18 private static boolean automodeapply = false; |
|
19 |
18 private static boolean endgame = false; |
20 private static boolean endgame = false; |
19 |
21 |
20 private static Player proponent = new Player(); |
22 private static Player proponent = new Player(); |
21 |
23 |
22 private static Player opponent = new Player(); |
24 private static Player opponent = new Player(); |
75 private static void writeMove() |
77 private static void writeMove() |
76 { |
78 { |
77 strategy.moving(proponent, opponent, System.out); |
79 strategy.moving(proponent, opponent, System.out); |
78 } |
80 } |
79 |
81 |
|
82 public static boolean getAutoMode() |
|
83 { |
|
84 return automodeapply; |
|
85 } |
|
86 |
80 public static void main(String[] args) throws IOException |
87 public static void main(String[] args) throws IOException |
81 { |
88 { |
82 String playerNum = args[0]; |
89 String playerNum = args[0]; |
83 |
90 |
84 if("1".equals(playerNum)) |
91 if("1".equals(playerNum)) |