Commit 613f3198 by BellCodeEditor

save project

parent b04e2d68
Showing with 6 additions and 6 deletions
...@@ -55,18 +55,17 @@ while True: ...@@ -55,18 +55,17 @@ while True:
houyi.combat(yase) houyi.combat(yase)
elif int(a)==2: elif int(a)==2:
houyi.cure() houyi.cure()
elif a=='q': elif a=="q":
print('游戏结束') print('游戏结束')
break break
else: else:
print('重输!') print('重输!')
continue continue
b = random.randint(1,3) b=random.randint(1,3)
if b == 3: if b==3:
houyi.cure() yase.cure()
else: else:
houyi.combat(houyi) yase.combat(houyi)
\ No newline at end of file
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