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