Type Alias Piece

Piece:
    | "k"
    | "q"
    | "r"
    | "b"
    | "n"
    | "p"

Type of chess (uncolored) piece:

  • 'k' (king),
  • 'q' (queen),
  • 'r' (rook),
  • 'b' (bishop),
  • 'n' (knight),
  • 'p' (pawn).