Update play.py

This commit is contained in:
Nick Walton
2019-11-28 12:42:27 -07:00
committed by GitHub
parent ea829087b8
commit 7f79d675f6
+5 -2
View File
@@ -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)