大力汽车

文章
5
资源
0
加入时间
4年0月3天

用python实现贪吃蛇

class Point: row = 0 col = 0 def __init__(self, row, col): self.row = row self.col = col def copy(self): return Point(row=self.row, col=self.col)import pygameimport randompygame.init()W = 800H = 600ROW = 60.