1 package ru.alphatech.icfpc.policy;
3 import ru.alphatech.icfpc.cards.Dbl;
4 import ru.alphatech.icfpc.cards.Succ;
5 import ru.alphatech.icfpc.cards.Zero;
6 import ru.alphatech.icfpc.game.Player;
8 public class VitalityBoostPolicy extends AbstractPolicy {
10 public static final int turnsCount = 100;
12 public VitalityBoostPolicy(int targetSlot, Player player) {
13 super(turnsCount, player);
14 this.targetSlot = targetSlot;
16 maxValueSlotNum = player.getStatistic().maxValueSlotNum;
17 maxValue = player.getStatistic().maxValue;
18 firstIdentitySlot = -1;
21 protected int targetSlot = -1;
22 protected int maxValueSlotNum = -1;
23 protected int maxValue = -1;
24 protected int firstIdentitySlot = -1;
26 public boolean next() {
29 switch (getCurrentTurns()) {