import pygame
import time
import random
pygame.init()
# 定义颜色
white = (255, 255, 255)
yellow = (255, 255, 102)
black = (0, 0, 0)
red = (213, 50, 80)
green = (0, 255, 0)
blue = (50, 153, 213)
# 创建游戏窗口
dis_width = 600
dis_height = 400
dis = pygame.d