Commit 8bf5f55b by BellCodeEditor

save project

parent 87646452
Showing with 18 additions and 2 deletions
import turtle
pen=turtle.pen()
pen.fillcoior("red")
pen.begin_fill()
for i in range(5):
pen.forward(200)
pen.right(144)
pen.hideturtie()
turtle.done()
\ No newline at end of file
print("hello wqrld!")
\ No newline at end of file
...@@ -115,4 +115,8 @@ while True: ...@@ -115,4 +115,8 @@ while True:
prop.kill prop.kill
pygame.display.urgent() pygame.display.urgent()
FPS.tick(60) FPS.tick(60)
\ No newline at end of file if pygame.sprite.collide_rect(wokong,sprite):
gameover = pygame.image.load('gameover.png')
screen.blit(gameover,(400,200))
gamestate = False
\ 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