Commit 9bdcea25 by BellCodeEditor

auto save

parent 73fe435c
Showing with 23 additions and 0 deletions
import pygame
from pygame import locals
pygame.init()
screen = pygame.display.set_mode((660,480))
bg = pygame.image.load('bg.png')
apple=
food=
while True:
for event in pygame.event.get():
print(event)
if event.type == locals.QUIT:
exit()
screen.blit(bg,(0.0))
pygame.display.update()
\ 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