Commit 58e184f7 by BellCodeEditor

save project

parent 65c1057b
Showing with 4 additions and 0 deletions
......@@ -24,6 +24,10 @@ class Hero(object):
info3 = enemy.name+"阵亡,游戏结束"
info = info1+info2+info3
print(info)
if enemy.name=="垭瑟":
print("玩家胜利")
else:
print("电脑胜利")
exit()
class Player(Hero):
......
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