Module piece

Source

Traits§

ColorTrait
ColorTrait defines methods for Color
FigureTrait
FigureTrait adds methods to Figure
PieceTrait
PieceTrait adds methods to Piece

Functions§

color_figure
returns a piece from color and figure
fen_symbol_to_piece
returns the piece for the fen symbol

Type Aliases§

Color
Color type represents a chess color
Figure
Figure type represents a chess figure as an unsigned int
Piece
Piece type represents a chess piece as an unsigned int