Oct-10-2019, 10:31 PM
If you want the option to keep playing, you need another loop to put it all into (I think you put it around the end of game stuff, but it needs to go around everything). The format would be something like this:
while True: # do all of the set up stuff like initialize the scores. while game_not_over: # play the game if they_didnt_quit: # do the end of game stuff like determine and announce who won. play_again = input('Do you want to play again (y/n)? ') if play_again.lower() != 'y': break
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures