Commit b0bfc020 by BellCodeEditor

save project

parent d3e688aa
Showing with 3 additions and 4 deletions
......@@ -6,13 +6,13 @@ screen = pygame.display.set_mode((660,480))
bg = pygame.image.load('bg.png')
right=pygame.image.load('right.png')
body=pygame.image.load('body.png')
food=pygame.image.load('food.png')
food=pygame.image.load('apple.png')
while True:
for event in pygame.event.get():
print(event)
if event.type == locals.QUIT:
exit()
screen.blit(bg,(0,0))
......@@ -25,4 +25,4 @@ while True:
pygame.display.update()
\ No newline at end of file
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