public class NastyMoth extends Strategy { public NastyMoth () {} public NastyMoth (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 (otherLastPlay==1);} }