Commit a01d3c79 by BellCodeEditor

save project

parent d8383f6b
Showing with 16 additions and 0 deletions
import pygame
from pygame import locals
pygame.init()
screen=pygame.display.set_mode((660,480))
background=pygame.image.load("bg.png")
food=pygame.image.load("apple.png")
while tuple:
for events in pygame.event.get():
if events.type == locals.QUIT:
exit()
screen.blit(food,(0,0))
screen.blit(food,(610,0))
screen.blit(food,(480,0))
screen.blit(food,(610,480))
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