Commit 94afe404 by BellCodeEditor

save project

parent 09cb1335
Showing with 9 additions and 1 deletions
......@@ -9,10 +9,18 @@ screen=pygame.display.set_mode((660,480))
background=pygame.image.load('bg.png')
snake=pygame.image.load('right.png')
apple=pygame.image.load('apple.png')
body=pygame.image.load('body.png')
while True:
for event in pygame.event.get():
if event.type==locals.QUIT:
exit()
screen.blit(body,(240,))
screen.blit(background,(0,0))
screen.blit(body,(240,120))
screen.blit(body,(180,90))
screen.blit(body,())
screen.blit(body,(240,120))
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