MCPcopy Create free account
hub / github.com/ndleah/python-mini-project / getQueenMoves

Method getQueenMoves

Chess_Game/ChessEngine.py:176–178  ·  view source on GitHub ↗
(self, r,c,moves)

Source from the content-addressed store, hash-verified

174 break
175
176 def getQueenMoves(self, r,c,moves):
177 self.getRookMoves(r, c, moves)
178 self.getBishopMoves(r, c, moves)
179
180 def getKingMoves(self, r,c,moves):
181 kingMoves = ((-1, -1), (-1, 0), (-1, 1), (0, -1), (0, 1), (1, -1), (1, 0), (1,1) )

Callers

nothing calls this directly

Calls 2

getRookMovesMethod · 0.95
getBishopMovesMethod · 0.95

Tested by

no test coverage detected