Module crabchess::pieces

source ·
Expand description

This module contains the basic types that make up a chess piece.

Structs§

  • A piece on a chess board.

Enums§

  • Enum representing the color of a chess piece.
  • Enum of piece types that move in a line.
  • A piece type that a pawn can be promoted to.
  • Enum representing a piece’s side (usually a rook to be used in castling).
  • Enum representing the type of a chess piece.