How to loop my game back to the start

Enclose the program in a while loop while true;
If they win then you break
If not then it will just keep looping

So it would look like

while true:
   (a bunch of code, all indented)  

when the person wins just add the word break

Leave a Comment