(self)
| 341 | self.colors[i].append((30, 30, 30)) |
| 342 | |
| 343 | def colorBoard(self): |
| 344 | global surface |
| 345 | surface.fill((12, 12, 12)) |
| 346 | for i in range(8): |
| 347 | for j in range(8): |
| 348 | pygame.draw.rect(surface, self.colors[i][j], self.sqs[i][j]) |
| 349 | |
| 350 | def placePieces(self): |
| 351 | global surface, grid |