Skip to main content

Crate chessai

Crate chessai 

Source

Structs§

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.

Enums§

ChessAIError
All errors surfaced by the public API.
Color
Chinese chess colors. Red moves first.
PieceType
Seven piece types following Chinese chess nomenclature.

Constants§

STARTING_FEN