➤ Information Systems Student.
➤ Systems Development Technician.
➤ 19y.
➤ Nothing's impossible.
➤ Stay Flinston
public class MyLife {
public static void main(String[] args) {
Life mylife = new Life();
mylife.start();
while (true) {
while(mylife.success == false) {
mylife.tryAgain();
}
mylife.victories += 1;
if (mylife.victories >= SUCCESS_CONDITION) {
System.out.println("You have won the game!");
break;
}
}
}
}