src/main/java/ru/alphatech/icfpc/game/strategy/SimplyStrategy.java
changeset 98 19dba9e387ce
parent 90 774e7ce00b5f
child 101 4bb458c3548e
     1.1 --- a/src/main/java/ru/alphatech/icfpc/game/strategy/SimplyStrategy.java	Sun Jun 19 17:53:59 2011 +0400
     1.2 +++ b/src/main/java/ru/alphatech/icfpc/game/strategy/SimplyStrategy.java	Sun Jun 19 18:42:07 2011 +0400
     1.3 @@ -1,7 +1,8 @@
     1.4  package ru.alphatech.icfpc.game.strategy;
     1.5  
     1.6 -import java.io.PrintStream;
     1.7 -
     1.8 +import static ru.alphatech.icfpc.game.Batch.OperationType.CARD_TO_SLOT;
     1.9 +import ru.alphatech.icfpc.cards.I;
    1.10 +import ru.alphatech.icfpc.game.Batch;
    1.11  import ru.alphatech.icfpc.game.Player;
    1.12  
    1.13  /**
    1.14 @@ -12,10 +13,9 @@
    1.15  public class SimplyStrategy implements IStrategy {
    1.16  
    1.17  	@Override
    1.18 -	public void moving(Player proponent, Player opponent, PrintStream out) {
    1.19 -		out.print(1 + "\n");
    1.20 -		out.print("I" + "\n");
    1.21 -		out.print(0 + "\n");
    1.22 +	public Batch move(Player proponent, Player opponent) {
    1.23 +		Batch batch = new Batch(CARD_TO_SLOT, new I(), opponent.getSlot(0));
    1.24 +		return batch;
    1.25  	}
    1.26  
    1.27  }