KingMoveGenerator

Generates all pseudo-legal moves for a king, including castling.

Constructors

Link copied to clipboard
constructor()

Functions

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

Generates all pseudo-legal king moves from the given square, including castling moves.