What main does()?

The main method checks if the current difficulty is equal to the max difficulty if it is not equal it will execute the game at the current difficulity and add 1 to the diffiulity integer and rechecks the while statement again if the current difficulty is greater than max difficulty the program will exit the while statement and execute what is after it .

Privacy & Terms