PseudoLegalMoveGenerator

internal object PseudoLegalMoveGenerator

Generates all pseudo-legal moves for a given board and game state. Pseudo-legal moves do not consider checks.

Functions

Link copied to clipboard
fun getAllPseudoLegalMoves(board: Board, gameState: GameState): List<Move>

Returns all pseudo-legal moves for the current player on the given board.