PieceMoveGenerator

internal interface PieceMoveGenerator

Interface for generating pseudo-legal moves for a chess piece.

Inheritors

Functions

Link copied to clipboard
abstract fun generatePseudoLegalMoves(piece: Piece, fromSquare: Square, board: Board, gameState: GameState): List<Move>

Generates all pseudo-legal moves for the given piece from the specified square.