Commit 167c2f1f by BellCodeEditor

auto save

parent 6fe23a5c
Showing with 9 additions and 2 deletions
......@@ -47,4 +47,11 @@ while True:
apper_x= num*30-30
apper_y= num*30-30
else:
position.pop(0)
\ No newline at end of file
position.pop(0)
screen.blit(background,(0,0))
screen.blit(snack_head,position[-1])
for i in range(len(position))
screen.blit(body,position[i])
screen.blit(food,(apple_x,apper_y)
pygame.display.update()
FPSCOCK.tick(3)
\ 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