Commit 955fc903 by BellCodeEditor

save project

parent 40e72b3b
Showing with 13 additions and 2 deletions
...@@ -2,4 +2,15 @@ print("_"=*30) ...@@ -2,4 +2,15 @@ print("_"=*30)
print("战斗开始") print("战斗开始")
while True: while True:
print("_" * 30) print("_" * 30)
choice = input(" ") choice = input(" ")
\ No newline at end of file if choice == "q"
print("游戏结束")
break
elif choice == "1":
hauyi.combat(yase)
elif choice == "2":
hoyyi.cure()
else:
print("请重输入")
continue
\ 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