Commit d64adf9e by BellCodeEditor

save project

parent e8f6f8e7
Showing with 1 additions and 1 deletions
...@@ -42,7 +42,7 @@ while True: ...@@ -42,7 +42,7 @@ while True:
screen.blit(background, (0, 0)) screen.blit(background, (0, 0))
snakeList.pop(0) snakeList.pop(0)
snakeList.append((x,y)) snakeList.append((x,y))
screen.blit(right, (x, y)) screen.blit(set_head, (x, y))
for i in range(len(snakeList)-1): for i in range(len(snakeList)-1):
screen.blit(body, snakeList[i]) screen.blit(body, snakeList[i])
screen.blit(food, (360, 300)) screen.blit(food, (360, 300))
......
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