MCPcopy Index your code
hub / github.com/ndleah/python-mini-project / drawGameState

Function drawGameState

Chess_Game/ChessGame.py:108–111  ·  view source on GitHub ↗
(screen, gs, validMoves, sqSelected)

Source from the content-addressed store, hash-verified

106 screen.blit(s, (SQ_SIZE*moves.endCol, SQ_SIZE*moves.endRow))
107
108def drawGameState(screen, gs, validMoves, sqSelected):
109 drawBoard(screen)
110 highlightSquares(screen, gs, validMoves, sqSelected)
111 drawPieces(screen, gs.board)
112
113def drawBoard(screen):
114 global colors

Callers 1

mainFunction · 0.85

Calls 3

drawBoardFunction · 0.85
highlightSquaresFunction · 0.85
drawPiecesFunction · 0.85

Tested by

no test coverage detected