Commit 05e88b1d by BellCodeEditor

save project

parent 087e51d5
Showing with 8 additions and 7 deletions
...@@ -25,13 +25,13 @@ while True: ...@@ -25,13 +25,13 @@ while True:
h=[(210,120),(180,120),(180,90),(x,y)] h=[(210,120),(180,120),(180,90),(x,y)]
h.blit(bg,(0,0)) h.blit(bg,(0,0))
h.append(len(h)-1) h.append((x,y))
h.pop(-1) h.pop(-1)
for i in h(): for i in range(len(h)-1):
h.blit(right,0) h.blit(right,h[0])
h.blit(body,1) h.blit(body,h[1])
h.blit(body,2) h.blit(body,h[2])
h.blit(body,3) h.blit(body,h[3])
h.blit(apple,(300,300)) h.blit(apple,(300,300))
pygame.display.update() 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