简易贪吃蛇主蛇头与蛇身食物/水果用到的函数求解决 主 import pygame import sys from pygame.sprite import Group from snake import Snake, Body from fruit import Fruit import game_functions as gf from time import sleep def run_game(): pygame.init() screen = pygame.display.set_mode((700,400)) pygame.display.set_caption("贪吃蛇")