Commit 613f3198 by BellCodeEditor

save project

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