Commit 7bb50c64 by BellCodeEditor

save project

parent e704af96
Showing with 5 additions and 0 deletions
......@@ -2,6 +2,10 @@ import pygame
from pygame import locals
pygame.init()
screen=pygame.display.set_mode((660,480))
background=pygame.image.load('bg.png')
right=pygame.image.load('right.png')
food=pygame.image.load('apple.png')
body=pygame.image.load('body.png')
while True:
for event in pygame.event.get():
if event.type==locals.QUIT:
......@@ -9,3 +13,4 @@ while True:
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