diff -r 5940c7605d03 -r 774e7ce00b5f src/main/java/ru/alphatech/icfpc/game/strategy/SimplyStrategy.java --- a/src/main/java/ru/alphatech/icfpc/game/strategy/SimplyStrategy.java Sun Jun 19 17:14:19 2011 +0400 +++ b/src/main/java/ru/alphatech/icfpc/game/strategy/SimplyStrategy.java Sun Jun 19 17:35:56 2011 +0400 @@ -1,11 +1,9 @@ package ru.alphatech.icfpc.game.strategy; -import java.io.PrintStream; - +import static ru.alphatech.icfpc.game.Batch.OperationType.CARD_TO_SLOT; import ru.alphatech.icfpc.cards.I; import ru.alphatech.icfpc.game.Batch; import ru.alphatech.icfpc.game.Player; -import static ru.alphatech.icfpc.game.Batch.OperationType.*; /** * @author indvdum @@ -15,9 +13,9 @@ public class SimplyStrategy implements IStrategy { @Override - public void moving(Player proponent, Player opponent, PrintStream out) { + public Batch move(Player proponent, Player opponent) { Batch batch = new Batch(CARD_TO_SLOT, new I(), opponent.getSlot(0)); - out.print(batch); + return batch; } }