indvdum@55: package ru.alphatech.icfpc.game.strategy; indvdum@55: akhmetovlz@101: import java.util.LinkedList; akhmetovlz@101: indvdum@80: import ru.alphatech.icfpc.game.Batch; indvdum@55: import ru.alphatech.icfpc.game.Player; akhmetovlz@101: import ru.alphatech.icfpc.policy.AttackHelpPolicy; akhmetovlz@101: import ru.alphatech.icfpc.policy.AttackHelpPolicy.TYPE; indvdum@55: indvdum@55: /** indvdum@55: * @author indvdum indvdum@55: * 19.06.2011 13:36:26 indvdum@55: * indvdum@55: */ indvdum@55: public class SimplyStrategy implements IStrategy { indvdum@55: akhmetovlz@101: LinkedList batches = new LinkedList(); akhmetovlz@101: akhmetovlz@101: public SimplyStrategy() { akhmetovlz@108: // for(int i=0; i<100; ++i){ akhmetovlz@108: batches.addAll(new AttackHelpPolicy(TYPE.HELP, 10, 5, 5, 9999, false).getBatches()); akhmetovlz@108: // } akhmetovlz@101: } akhmetovlz@101: indvdum@55: @Override indvdum@90: public Batch move(Player proponent, Player opponent) { akhmetovlz@101: return batches.poll();//new Batch(OperationType.CARD_TO_SLOT, new I(), proponent.getSlot(0));//batches.poll(); indvdum@55: } indvdum@55: indvdum@55: }