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