Commit ceea8ce3 by BellCodeEditor

save project

parent 9eafd770
Showing with 8 additions and 4 deletions
......@@ -11,6 +11,11 @@ bg=pygame.image.load('bg.png')
apple=pygame.image.load('apple.png')
from pygame import locals
while True:
for event in pygame.event.get():
if event.type ==locals.QUIT:
exit()
\ No newline at end of file
for event in pygame.event.get():
if event.type ==locals.QUIT:
exit()
asd.blit(right,(290,30))
asd.blit(body,(260,30))
asd.blit(bg,(0,0))
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