public void starGame() {
boolean gamestatus = true;
casesSetup();
Welcome();
showCases();
setladies();
int choice = player.nUser();
myAmount = briefcase[choice].getAmount();
briefcase[choice] = null;
cases--;
while (gamestatus == true) {
offer = player.offer(turn, briefcase);
showCases();
if (cases == 25 || cases == 19 || cases == 14 || cases == 10
|| cases == 7) {
for (a = b; a > 0; a--) {
int r = player.Remove(a);
briefcase[r] = null;
System.out.println("\tYou've eliminated "+lady[cases].getName()+" "+lady[cases].getMessage());
cases--;
}
b--;
turn++;
System.out.print("\n\tThe Bankers Offer is: ");
System.out.printf("$%.2f\n",offer);
gamestatus = player.gamestatus();
}else if(cases == 0){
int r = player.Remove(1);
briefcase[r] = null;
gamestatus = false;
}
else {
int r = player.Remove(1);
briefcase[r] = null;
System.out.println("\n\tYou've eliminated "+lady[cases].getName()+" "+lady[cases].getMessage());
cases--;
System.out.print("\tThe Bankers Offer is: ");
System.out.printf("$%.2f\n",offer);
gamestatus = player.gamestatus();
}
}
}
the whole code, specially , the one with the "
if (cases == 25 || cases == 19 || cases == 14 || cases == 10
|| cases == 7) "