public class HitAndRun extends Strategy { public HitAndRun () {} public HitAndRun (int strategyNumberIn, String nameIn) { strategyNumber = strategyNumberIn; name = nameIn; pop = 0; } protected int firstMove () { return 1; } protected boolean leave (int myLastPlay, int otherLastPlay, int currentScore) {return true;} }