Commit 2eb167e9 by BellCodeEditor

save project

parent f434f10e
Showing with 1 additions and 6 deletions
......@@ -31,17 +31,12 @@ while True:
# 将贪吃蛇的身体画上去
screen.blit(right,poat[-1])
for i in range(len(poat)-1):
screen.bilt(body,poat[i])
screen.blit(body,poat[i])
# 将果实画上去
screen.blit(food, (360, 300))
#让头向右移动
# 刷新画面
pygame.display.update()
#刷新控制
......
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