Expand description
A Rust chess library with the aim to be as feature-rich as possible
Examples are available on the GitHub repository page.
Modules§
- errors
- Contains all rschess error types.
Structs§
- Board
- The structure for a chessboard/game
- Fen
- Represents FEN (Forsyth-Edwards Notation).
- Move
- The structure for a chess move, in the format (source square, destination square, castling/promotion/en passant)
- Piece
- Represents a piece in the format (piece type, color).
- Position
- The structure for a chess position
Enums§
- Color
- Represents a side/color.
- Draw
Type - Represents types of draws.
- Game
Result - Represents game results.
- Material
- Represents a piece of material.
- Piece
Type - Represents types of pieces.
- Special
Move Type - Represents types of special moves (castling/promotion/en passant).
- WinType
- Represents types of wins.