问题: pygame.error: video system not initialized
解决方法: 在代码前加入

1
pygame.init()

进行初始化