pygame小游戏
参考代码为
SCREEN_SIZE = (640, 480)
NEST_POSITION = (320, 240)
ANT_COUNT = 20
NEST_SIZE = 100.
import pygame
from pygame.locals import *
from random import randint, choice
from pygame.math import *
class State(object):
def __init__(self, name):
转载
2021-06-21 14:17:38 ·
196 阅读 ·
0 评论