(screen, board)
| 119 | p.draw.rect(screen, color, p.Rect(c*SQ_SIZE, r*SQ_SIZE, SQ_SIZE, SQ_SIZE)) |
| 120 | |
| 121 | def drawPieces(screen, board): |
| 122 | for r in range(DIMENSIONS): |
| 123 | for c in range(DIMENSIONS): |
| 124 | piece = board[r][c] |
| 125 | if piece != "--": |
| 126 | screen.blit(IMAGES[piece], p.Rect(c*SQ_SIZE, r*SQ_SIZE, SQ_SIZE, SQ_SIZE)) |
| 127 | |
| 128 | def animatedMoves(move, screen,board, clock): |
| 129 | global colors |
no outgoing calls
no test coverage detected