This is our solution and it works also!

do { PlayGame(); } while (AskToPlayAgain() == true);

1 Like

Hey, just letting you know that the AskToPlayAgain==true is unnecessary, as AskToPlayAgain is already a boolean. You can just put while(AskToPlayAgain()), saving a few characters :slight_smile:

1 Like

Awesome! I looked at the above code and it was similar to mine and you helped me out too! Thanks!

Privacy & Terms