Commit 5c95d442 by BellCodeEditor

save project

parent 91617fa5
Showing with 10 additions and 2 deletions
......@@ -4,4 +4,12 @@ print('-'*30)
while True:
print('-'*30)
a=input("请选择技能:1攻击/2治疗")
\ No newline at end of file
if a =="stop":
print('游戏结束')
break
elif a =="1":
print("1== 开始攻击")
elif a =="2":
print("2==开始治疗")
else:
print("请选择技能:1攻击/2治疗")
\ 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