Commit 07c35305 by BellCodeEditor

save project

parent 1fc0cb9f
Showing with 8 additions and 2 deletions
......@@ -18,4 +18,10 @@ while True:
exit()
# 将背景图画上去
pygame.surface.blit
\ No newline at end of file
screen.blit(background , (0, 0))
# 将贪吃蛇的头画上去
screen.blit(right , (290, 120))
# 将果实图画上去
screen.blit(food , (360, 300))
# 刷新窗口
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