Commit 599b8d0f by BellCodeEditor

save project

parent 01801b22
Showing with 8 additions and 1 deletions
...@@ -14,7 +14,13 @@ class Hero(object): ...@@ -14,7 +14,13 @@ class Hero(object):
info3='血量为零,游戏结束' info3='血量为零,游戏结束'
info=info1+info2+info3 info=info1+info2+info3
print(info) print(info)
exit()
yase=Hero('亚瑟')
hy=Hero('后羿')
while True
hy.combat(yase)
yase.combat(hy)
\ 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