因此,我想在我的pygame中使用for循环制作一个游戏地图,但显然我这样做的方式不起作用。下面是代码,如果你能看一看,那就太好了!Pygame import pygameimport random
if event.type == pygame.KEYDOWN:
if event.type == pygame</e
# - self: the tile being drawn pygame.draw.rect(Tile.surfaceself: the tile whose content is being updated
main()
试图在pygame中创建一个记忆游戏,但我有问题,试图blit的图像到每个单独的</em