Commit 52a3d46b by BellCodeEditor

save project

parent 494aa3f8
Showing with 4 additions and 0 deletions
...@@ -52,6 +52,10 @@ while True: ...@@ -52,6 +52,10 @@ while True:
houyi.combat(yase) houyi.combat(yase)
elif int(a)==2: elif int(a)==2:
houyi.cure() houyi.cure()
elif int(a)==q:
exit()
else:
print("重输")
b=random.randint(1,2) b=random.randint(1,2)
if int(b)==1: if int(b)==1:
yase.combat(houyi) yase.combat(houyi)
......
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