diff --git a/play.py b/play.py index 75dc75e..171b750 100644 --- a/play.py +++ b/play.py @@ -135,8 +135,11 @@ def play_aidungeon_2(): console_print(result + "\n CONGRATS YOU WIN") break elif player_died(result): - console_print(result) - console_print("YOU DIED. GAME OVER") + console_print(result): + died = input("Did you die? (y/N)") + if died.lower() in ["yes", "y"] + console_print("YOU DIED. GAME OVER") + break break else: console_print(result)