PawnMoveGenerator

Generates all pseudo-legal moves for a pawn, including forward moves, captures, promotions, and en passant.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

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

Generates all pseudo-legal pawn moves from the given square.