Commit 2a19e91e by BellCodeEditor

save project

parent 9669284d
Showing with 3 additions and 0 deletions
...@@ -55,6 +55,9 @@ while True: ...@@ -55,6 +55,9 @@ while True:
houyi.combat(yase) houyi.combat(yase)
elif a == "2": elif a == "2":
houyi.cure() houyi.cure()
elif a == "q":
print("游戏已结束")
exit()
else: else:
print("*"*50) print("*"*50)
print("请输入正确的数字!") print("请输入正确的数字!")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment