Crate sacrifice
Source - prelude
- Chess
- A standard Chess position.
- Fen
- A FEN like
rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1. - Piece
- A piece with
Color and Role. - SanPlus
- A
San and possible check and checkmate suffixes.
- CastlingMode
Standard or Chess960.- Color
White or Black.- File
- A file of the chessboard.
- Move
- Information about a move.
- Rank
- A rank of the chessboard.
- Role
- Piece types:
Pawn, Knight, Bishop, Rook, Queen, King. - San
- A move in Standard Algebraic Notation.
- Square
- A square of the chessboard.
- Position
- A playable chess or chess variant position. See
Chess for a concrete
implementation.
- read_pgn
- Parse one chess game from PGN string.