Commit 64b78df2 by BellCodeEditor

save project

parent 7fa5e115
Showing with 16 additions and 2 deletions
......@@ -43,4 +43,18 @@ yase.combat(houyi)
houyi.cure()
yase.cure()
while True:
print('-'*20+'游戏开始'+'-'*20)
\ No newline at end of file
print('-'*20+'游戏开始'+'-'*20)
choice = input('请选择技能1/攻击2/恢复治疗')
if choice=='q':
print('游戏结束')
break
elif choice=='1'
houyi.combat(yase)
elif choice=='2':
houyi.cure()
else:
print('您的输入有误:')
continue
num1=random.randint(1,3)
if numk1=='1'
\ 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