Commit f658d9c6 by BellCodeEditor

save project

parent b4467b6c
Showing with 3 additions and 1 deletions
...@@ -5,8 +5,10 @@ form pygame import locals ...@@ -5,8 +5,10 @@ form pygame import locals
pygame.init() pygame.init()
background = pygame.image.load('bg.png')
right = pygame.image.load('right.png')
food = pyame.image.load('right.png')
screen = pygame.display.set_mode((660, 480)) screen = pygame.display.set_mode((660, 480))
while True: while True:
for event in pygame.event.get(): for event in pygame.event.get():
if event.type == locals.QUIT if event.type == locals.QUIT
......
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