Commit 828e10c2 by BellCodeEditor

save project

parent dc21ecfa
Showing with 12 additions and 1 deletions
......@@ -29,7 +29,18 @@ class Monster():
flowy = Monster("flowy",20,3,"射出'友谊颗粒'")
frogy = Monster("frogy",10,2,"用舌头弹了一下")
#
#选择怪物
player = input("请选择你的怪物:\nA.frogy B.flowy\n_")
if player == "A":
player = "frogy"
print("你选择了" + player)
elif player == "B":
player = "flowy"
print("你选择了" + player)
else:
print("输入无效")
#战斗环节
while True:
......
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