Commit 91d06ab9 by BellCodeEditor

save project

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