public boolean playOneHandBandit() { if (Math.random() <= CasinoTesting.ONEHANDBANDITCHANCE) { money += casino.oneHandBanditWin(); return true; } else { money += casino.oneHandBanditLose(); return false; } }
public OneHandBanditPlayerTesting(int money) { this.money = money; casino = CasinoTesting.getInstance(); }