1.1 --- a/src/main/java/ru/alphatech/icfpc/game/Run.java Sun Jun 19 17:30:18 2011 +0400
1.2 +++ b/src/main/java/ru/alphatech/icfpc/game/Run.java Sun Jun 19 17:32:15 2011 +0400
1.3 @@ -8,22 +8,20 @@
1.4 import java.io.BufferedReader;
1.5 import java.io.IOException;
1.6 import java.io.InputStreamReader;
1.7 -import java.util.LinkedList;
1.8 -import java.util.List;
1.9
1.10 import ru.alphatech.icfpc.game.strategy.IStrategy;
1.11 import ru.alphatech.icfpc.game.strategy.SimplyStrategy;
1.12
1.13 public class Run
1.14 {
1.15 + private static boolean automodeapply = false;
1.16 +
1.17 private static boolean endgame = false;
1.18
1.19 private static Player proponent = new Player();
1.20
1.21 private static Player opponent = new Player();
1.22
1.23 - private static LinkedList<Batch> batches = new LinkedList<Batch>();
1.24 -
1.25 private static int registers[] = new int[4];
1.26
1.27 static {
1.28 @@ -39,14 +37,6 @@
1.29 return proponent.getSlot( registers[registerIdex] );
1.30 }
1.31
1.32 - public static void clearBatcher(){
1.33 - batches.removeAll(batches);
1.34 - }
1.35 -
1.36 - public static void addBatcher(List<Batch> batches){
1.37 - batches.addAll(batches);
1.38 - }
1.39 -
1.40 public static Player getOpponent(){
1.41 return opponent;
1.42 }
1.43 @@ -88,6 +78,11 @@
1.44 strategy.moving(proponent, opponent, System.out);
1.45 }
1.46
1.47 + public static boolean getAutoMode()
1.48 + {
1.49 + return automodeapply;
1.50 + }
1.51 +
1.52 public static void main(String[] args) throws IOException
1.53 {
1.54 String playerNum = args[0];