Commit 6fcd17eb by BellCodeEditor

save project

parent 657fdd8e
Showing with 1 additions and 1 deletions
...@@ -26,7 +26,7 @@ while True: ...@@ -26,7 +26,7 @@ while True:
shenti.pop(0) shenti.pop(0)
screen.blit(background, (0, 0)) screen.blit(background, (0, 0))
# 将贪吃蛇画上去 # 将贪吃蛇画上去
screen.blit(right, (x, y)) screen.blit(right, shenti[-1])
# 将贪吃蛇的身体画上去 # 将贪吃蛇的身体画上去
for i in range(len(shenti)-1): for i in range(len(shenti)-1):
screen.blit(body,shenti[i]) screen.blit(body,shenti[i])
......
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