Crate sacrifice

source ·

Modules

Structs

  • A standard Chess position.
  • A FEN like rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1.
  • A piece with Color and Role.
  • A San and possible check and checkmate suffixes.

Enums

  • Standard or Chess960.
  • White or Black.
  • A file of the chessboard.
  • Information about a move.
  • A rank of the chessboard.
  • Piece types: Pawn, Knight, Bishop, Rook, Queen, King.
  • A move in Standard Algebraic Notation.
  • A square of the chessboard.

Traits

  • A playable chess or chess variant position. See Chess for a concrete implementation.

Functions

  • Parse one chess game from PGN string.