Commit 820e9a72 by BellCodeEditor

save project

parent a9e0f917
Showing with 11 additions and 0 deletions
...@@ -3,3 +3,13 @@ print(' 战斗开始') ...@@ -3,3 +3,13 @@ print(' 战斗开始')
while True: while True:
print('-'*30) print('-'*30)
a=input("请你选择技能:1攻击/2治疗") a=input("请你选择技能:1攻击/2治疗")
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