Package-level declarations

Defines how each chess piece moves. Implements the movement rules for pawns, knights, bishops, rooks, queens, and kings.

Types

Link copied to clipboard

Generates all pseudo-legal moves for a bishop.

Link copied to clipboard

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

Link copied to clipboard

Generates all pseudo-legal moves for a knight.

Link copied to clipboard

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

Link copied to clipboard
internal interface PieceMoveGenerator

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

Link copied to clipboard

Generates all pseudo-legal moves for a queen.

Link copied to clipboard

Generates all pseudo-legal moves for a rook.

Link copied to clipboard
internal object SlidingMoveGenerator

Utility object for generating sliding piece moves (rook, bishop, queen).