fischerandom_chess library

Constants

BISHOP_TABLE → const List<int>
Lookup table of bishop placements, used by encode().
KRN_TABLE → const List<String>
Lookup table of KRN sequences, used by encode().
POSITIONS → const List<String>
A lookup table of all possible starting positions in Fischer Random Chess / Chess960. The array's indexes correspond to each starting position's ID (from 0 to 959).
UNICODE → const Map<String, List<String>>
A map of Unicode symbols for chess pieces, in both white and black.

Functions

toString(dynamic arrangement) → dynamic
Converts an arrangement of pieces from Array to String.