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