Commit e628a987 by BellCodeEditor

auto save

parent b6e890cd
Showing with 31 additions and 1 deletions
import turtle
turtle.forward(100)
turtle.right(90)
turtle.forward(100)
turtle.right(90)
turtle.forward(100)
turtle.right(90)
turtle.forward(100)
turtle.right(90)
turtle.forward(100)
turtle.left(90)
turtle.forward(100)
turtle.left(90)
turtle.forward(100)
turtle.left(90)
turtle.forward(100)
turtle.forward(100)
turtle.right(90)
turtle.forward(100)
turtle.right(90)
turtle.forward(200)
turtle.right(90)
turtle.forward(100)
turtle.right(90)
turtle.forward(100)
turtle.right(90)
turtle.forward(100)
turtle.done()
\ No newline at end of file
...@@ -12,7 +12,7 @@ class Hero(object): ...@@ -12,7 +12,7 @@ class Hero(object):
print("%s对%s发起攻击,造成%s点的伤害,%s还剩下%s血量"%(self.name,dr.name,self.attack,dr.name,dr.hp)) print("%s对%s发起攻击,造成%s点的伤害,%s还剩下%s血量"%(self.name,dr.name,self.attack,dr.name,dr.hp))
else: else:
print("%s已阵亡"%(dr.name)) print("%s已阵亡"%(dr.name))
exit()
yase = Hero("垭瑟") yase = Hero("垭瑟")
houyi= Hero("后羿") houyi= 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