constants library Null safety

Constants

ATTACKS → const List
const [20, 0, 0, 0, 0, 0, 0, 24, 0, 0, 0, 0, 0, 0, 20, 0, 0, 20, 0, 0, 0, 0, 0, 24, 0, 0, 0, 0, 0, 20, 0, 0, 0, 0, 20, 0, 0, 0, 0, 24, 0, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 20, 0, 0, 0, 24, 0, 0, 0, 20, 0…
BISHOP → const PieceType
PieceType.BISHOP
BITS → const Map<String, int>
{'NORMAL' : BITS_NORMAL, 'CAPTURE' : BITS_CAPTURE, 'BIG_PAWN' : BITS_BIG_PAWN, 'EP_CAPTURE' : BITS_EP_CAPTURE, 'PROMOTION' : BITS_PROMOTION, 'KSIDE_CASTLE&#…
BITS_BIG_PAWN → const int
4
BITS_CAPTURE → const int
2
BITS_EP_CAPTURE → const int
8
BITS_KSIDE_CASTLE → const int
32
BITS_NORMAL → const int
1
BITS_PROMOTION → const int
16
BITS_QSIDE_CASTLE → const int
64
BLACK → const Color
Color.BLACK
DEFAULT_POSITION → const String
'rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1'
EMPTY → const int
-1
FLAGS → const Map<String, String>
{'NORMAL' : 'n', 'CAPTURE' : 'c', 'BIG_PAWN' : 'b', 'EP_CAPTURE' : 'e', 'PROMOTION' : 'p', 'KSIDE_CASTLE' : '…
KING → const PieceType
PieceType.KING
KNIGHT → const PieceType
PieceType.KNIGHT
PAWN → const PieceType
PieceType.PAWN
PAWN_OFFSETS → const Map<Color, List<int>>
const {BLACK : const [16, 32, 17, 15], WHITE : const [-16, -32, -17, -15]}
PIECE_OFFSETS → const Map<PieceType, List>
const {KNIGHT : const [-18, -33, -31, -14, 18, 33, 31, 14], BISHOP : const [-17, -15, 17, 15], ROOK : const [-16, 1, 16, -1], QUEEN : const [-17, -16, -15, 1, 17, 16, 15, -1], KING : const [-17, -16, …
PIECE_TYPES → const Map<String, PieceType>
const {'p' : PieceType.PAWN, 'n' : PieceType.KNIGHT, 'b' : PieceType.BISHOP, 'r' : PieceType.ROOK, 'q' : PieceType.QUEEN, 'k' : PieceType.KING}
POSSIBLE_RESULTS → const List
const ['1-0', '0-1', '1/2-1/2', '*']
QUEEN → const PieceType
PieceType.QUEEN
RANK_1 → const int
7
RANK_2 → const int
6
RANK_3 → const int
5
RANK_4 → const int
4
RANK_5 → const int
3
RANK_6 → const int
2
RANK_7 → const int
1
RANK_8 → const int
0
RAYS → const List
const [17, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 15, 0, 0, 17, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 15, 0, 0, 0, 0, 17, 0, 0, 0, 0, 16, 0, 0, 0, 0, 15, 0, 0, 0, 0, 0, 0, 17, 0, 0, 0, 16, 0, 0, 0, 15, 0…
ROOK → const PieceType
PieceType.ROOK
SQUARES → const Map
{'a8' : 0, 'b8' : 1, 'c8' : 2, 'd8' : 3, 'e8' : 4, 'f8' : 5, 'g8' : 6, 'h8' : 7, 'a7' : 16, 'b7' : 17, 'c7' : 18…
SQUARES_A1 → const int
112
SQUARES_A8 → const int
0
SQUARES_H1 → const int
119
SQUARES_H8 → const int
7
SYMBOLS → const String
'pnbrqkPNBRQK'
WHITE → const Color
Color.WHITE

Enums

Color