Skip to main contentCrate chessai
Source - Engine
- EngineBuilder
- Limits
- Move
- Piece
- Colored piece packed into a single byte:
(color_index << 3) | piece_type_index. - Position
- SearchInfo
- Snapshot of the best line found so far. Returned by
Search::run and emitted to
callers via the SearchInfo callback on every completed iteration. - Square
- Packed square index
0..=89. rank * 9 + file.
- ChessAIError
- All errors surfaced by the public API.
- Color
- Chinese chess colors. Red moves first.
- PieceType
- Seven piece types following Chinese chess nomenclature.
- STARTING_FEN