Commit 10de83dc by BellCodeEditor

save project

parent 19c1c835
Showing with 8 additions and 1 deletions
......@@ -8,7 +8,13 @@ while True:
for event in pygame.event.get():
if event.type==locals.QUIT:
exit()
y+=30
if event.type==locals.KEYDOWN:
if event.type==locals.KEYDOWN:
if event.type==locals.KEYDOWN:
if event.type==locals.KEYDOWN:
if event.type==locals.KEYDOWN:
x+=30
screen.blit(background,(0,0))
screen.blit(right,(240,120))
for i in range(len()-1)
......@@ -19,3 +25,4 @@ while True:
screen.blit(food,(360,300))
pygame.display.updata()
FPECLOCK.tick(3)
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