src/main/java/ru/alphatech/icfpc/game/strategy/SimplyStrategy.java
author indvdum
Sun, 19 Jun 2011 17:09:51 +0400
changeset 80 fcdce54b2f25
parent 55 26d05bc45f1d
child 90 774e7ce00b5f
permissions -rw-r--r--
* strategy && batches
     1 package ru.alphatech.icfpc.game.strategy;
     2 
     3 import java.io.PrintStream;
     4 
     5 import ru.alphatech.icfpc.cards.I;
     6 import ru.alphatech.icfpc.game.Batch;
     7 import ru.alphatech.icfpc.game.Player;
     8 import static ru.alphatech.icfpc.game.Batch.OperationType.*;
     9 
    10 /**
    11  * @author indvdum
    12  * 19.06.2011 13:36:26
    13  *
    14  */
    15 public class SimplyStrategy implements IStrategy {
    16 
    17 	@Override
    18 	public void moving(Player proponent, Player opponent, PrintStream out) {
    19 		Batch batch = new Batch(CARD_TO_SLOT, new I(), opponent.getSlot(0));
    20 		out.print(batch);
    21 	}
    22 
    23 }