Commit cffa41f0 by BellCodeEditor

auto save

parent 41ffc927
Showing with 18 additions and 3 deletions
......@@ -65,7 +65,7 @@ while True:
random
houyi=Player("1","sd")
sb=Hero("sb")
print("-"*30)
......@@ -73,4 +73,19 @@ print(" GO!!!")
while True:
print("-"*30)
choice=input("1/KO,2/UP")
import turtle
\ No newline at end of file
choice=input("请选择技能:1攻击/2治疗")
if choice=="q":
print("game over")
break
elif choice=="1":
houyi.combat(yase)
elif choice=="2":
houyi.cure()
else:
print("cai")
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