Commit eed1e5d2 by BellCodeEditor

save project

parent 226f3b82
Showing with 7 additions and 0 deletions
...@@ -47,6 +47,13 @@ print("-"*30) ...@@ -47,6 +47,13 @@ print("-"*30)
while True: while True:
print("-"*30) print("-"*30)
a=input("1为治疗,2为攻击:1") a=input("1为治疗,2为攻击:1")
if a ="q":
print("游戏结束")
break
elif chouyi.choice == "1":
houyi.combat(yase)
elif choice == "2":
houyi.cure()
......
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