He already did.
This is an assignment statement:
again = true
This is a comparison statement:
again == true
Type: Posts; User: KevinWorkman
He already did.
This is an assignment statement:
again = true
This is a comparison statement:
again == true
I understand exactly what you meant.
The process will be the same. You'll have to use a loop to repeat the process. Putting your existing code in a method named doOneGame() might help.
You already know how to loop until you win.
Why don't you do the same thing to loop until you quit?
Hint: It might help if you put your current code inside a function called doOneGame().