Commit e72239b9 by BellCodeEditor

save project

parent bfffb242
Showing with 4 additions and 0 deletions
...@@ -20,5 +20,8 @@ while True: ...@@ -20,5 +20,8 @@ while True:
screen.blit(body, (180, 90)) screen.blit(body, (180, 90))
screen.blit(food, (360, 300)) screen.blit(food, (360, 300))
x+=30 x+=30
position.append((x,y))
for i in range(len(position)-1):
pygame.display.update() pygame.display.update()
uxsd.tick(3) uxsd.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