chessengine.moves#

chessengine.moves.get_bishop_moves(board, side: str, position: int) list[tuple[int, int, int]]#

Returns a list of end positions a bishop of side=side can reach starting at position

Parameters:
Return type:

list[tuple[int, int, int]]

chessengine.moves.get_black_bishop_moves(board, position: int) list[tuple[int, int, int]]#

Returns a list of end positions a black bishop starting at position can reach

Parameters:
Return type:

list[tuple[int, int, int]]

chessengine.moves.get_black_king_moves(board, position: int) list[tuple[int, int, int]]#

Returns a list of end positions a black king starting at position can reach

Parameters:
Return type:

list[tuple[int, int, int]]

chessengine.moves.get_black_knight_moves(board, position: int) list[tuple[int, int, int]]#

Returns a list of end positions a black knight starting at position can reach

Parameters:
Return type:

list[tuple[int, int, int]]

chessengine.moves.get_black_pawn_moves(board, position: int) list[tuple[int, int, int]]#

Returns a list of end positions a black pawn starting at position can reach

Parameters:
Return type:

list[tuple[int, int, int]]

chessengine.moves.get_black_queen_moves(board, position: int) list[tuple[int, int, int]]#

Returns a list of end positions a black queen starting at position can reach

Parameters:
Return type:

list[tuple[int, int, int]]

chessengine.moves.get_black_rook_moves(board, position: int) list[tuple[int, int, int]]#

Returns a list of end positions a black rook starting at position can reach

Parameters:
Return type:

list[tuple[int, int, int]]

chessengine.moves.get_king_moves(board, side: str, position: int) list[tuple[int, int, int]]#

Returns a list of end positions a king starting at position can reach

Parameters:
Return type:

list[tuple[int, int, int]]

chessengine.moves.get_knight_moves(board, side: str, position: int) list[tuple[int, int, int]]#

Returns a list of end positions a knight starting at position can reach

Parameters:
Return type:

list[tuple[int, int, int]]

chessengine.moves.get_rook_moves(board, side: str, position: int) list[tuple[int, int, int]]#

Returns a list of end positions a rook of side=side can reach starting at position

Parameters:
Return type:

list[tuple[int, int, int]]

chessengine.moves.get_white_bishop_moves(board, position: int) list[tuple[int, int, int]]#

Returns a list of end positions a white bishop starting at position can reach

Parameters:
Return type:

list[tuple[int, int, int]]

chessengine.moves.get_white_king_moves(board, position: int) list[tuple[int, int, int]]#

Returns a list of end positions a white king starting at position can reach

Parameters:
Return type:

list[tuple[int, int, int]]

chessengine.moves.get_white_knight_moves(board, position: int) list[tuple[int, int, int]]#

Returns a list of end positions a white knight starting at position can reach

Parameters:
Return type:

list[tuple[int, int, int]]

chessengine.moves.get_white_pawn_moves(board, position: int) list[tuple[int, int, int]]#

Returns a list of end positions a white pawn starting at position can reach

Parameters:
Return type:

list[tuple[int, int, int]]

chessengine.moves.get_white_queen_moves(board, position: int) list[tuple[int, int, int]]#

Returns a list of end positions a white queen starting at position can reach

Parameters:
Return type:

list[tuple[int, int, int]]

chessengine.moves.get_white_rook_moves(board, position: int) list[tuple[int, int, int]]#

Returns a list of end positions a white rook starting at position can reach

Parameters:
Return type:

list[tuple[int, int, int]]