Commit 984eddd7 by BellCodeEditor

save project

parent 1296aeac
Showing with 2 additions and 1 deletions
......@@ -25,6 +25,7 @@ class Hero(object):
info3 = enemy.name+"阵亡,游戏结束"
info = info1+info2+info3
print(info)
print('你干嘛啊~~')
exit()
class Player(Hero):
......@@ -59,7 +60,7 @@ while True:
print('游戏结束')
break
else:
print('重新输入1或2!')
print('重!')
continue
b=random.randint(1,3)
if b==3:
......
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