Commit 955fc903 by BellCodeEditor

save project

parent 40e72b3b
Showing with 12 additions and 0 deletions
...@@ -3,3 +3,14 @@ print("战斗开始") ...@@ -3,3 +3,14 @@ print("战斗开始")
while True: while True:
print("_" * 30) print("_" * 30)
choice = input(" ") choice = input(" ")
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