equal
deleted
inserted
replaced
14 import ru.alphatech.icfpc.game.strategy.IStrategy; |
14 import ru.alphatech.icfpc.game.strategy.IStrategy; |
15 import ru.alphatech.icfpc.game.strategy.SimplyStrategy; |
15 import ru.alphatech.icfpc.game.strategy.SimplyStrategy; |
16 |
16 |
17 public class Run |
17 public class Run |
18 { |
18 { |
|
19 private static boolean automodeapply = false; |
|
20 |
19 private static boolean endgame = false; |
21 private static boolean endgame = false; |
20 |
22 |
21 private static Player proponent = new Player(); |
23 private static Player proponent = new Player(); |
22 |
24 |
23 private static Player opponent = new Player(); |
25 private static Player opponent = new Player(); |
86 private static void writeMove() |
88 private static void writeMove() |
87 { |
89 { |
88 strategy.moving(proponent, opponent, System.out); |
90 strategy.moving(proponent, opponent, System.out); |
89 } |
91 } |
90 |
92 |
|
93 public static boolean getAutoMode() |
|
94 { |
|
95 return automodeapply; |
|
96 } |
|
97 |
91 public static void main(String[] args) throws IOException |
98 public static void main(String[] args) throws IOException |
92 { |
99 { |
93 String playerNum = args[0]; |
100 String playerNum = args[0]; |
94 |
101 |
95 if("1".equals(playerNum)) |
102 if("1".equals(playerNum)) |