Commit 43d8f006 by BellCodeEditor

save project

parent 85162c53
Showing with 2 additions and 0 deletions
......@@ -8,6 +8,7 @@ screen=pygame.display.set_mode((660,480))
backdround=pygame.image.load("bg.png")
snake=pygame.image.load("right.png")
body=pygame.image.load("body.png")
apple=pygame.image.load("apple.png")
while True:
for event in pygame.event.get():
......@@ -18,5 +19,6 @@ while True:
screen.blit(body,(180,180))
screen.blit(body,(150,180))
screen.blit(body,(150,150))
screen.blit(apple,(360,360))
pygame.display.update()
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