What does the main function do?

Hi, I think the main function just sets a difficulty level and a maximum difficulty level… next, while the difficulty level is not equals to the maximum difficulty level it continues the game at the current difficulty level and increases it at last… now if the difficulty level is equals to the maximum difficulty level then that means the user wins and the game shows the user some great cheerful message.

1 Like

Good job doing the challenge!

Privacy & Terms