Constant Field Values


Contents
chesspresso.*

chesspresso.Chess
public static final int A1 0
public static final int A2 8
public static final int A3 16
public static final int A4 24
public static final int A5 32
public static final int A6 40
public static final int A7 48
public static final int A8 56
public static final int B1 1
public static final int B2 9
public static final int B3 17
public static final int B4 25
public static final int B5 33
public static final int B6 41
public static final int B7 49
public static final int B8 57
public static final short BISHOP 2
public static final int BLACK 1
public static final short BLACK_BISHOP 2
public static final short BLACK_KING 6
public static final short BLACK_KNIGHT 1
public static final short BLACK_PAWN 5
public static final short BLACK_QUEEN 4
public static final short BLACK_ROOK 3
public static final int C1 2
public static final int C2 10
public static final int C3 18
public static final int C4 26
public static final int C5 34
public static final int C6 42
public static final int C7 50
public static final int C8 58
public static final int D1 3
public static final int D2 11
public static final int D3 19
public static final int D4 27
public static final int D5 35
public static final int D6 43
public static final int D7 51
public static final int D8 59
public static final int E1 4
public static final int E2 12
public static final int E3 20
public static final int E4 28
public static final int E5 36
public static final int E6 44
public static final int E7 52
public static final int E8 60
public static final int F1 5
public static final int F2 13
public static final int F3 21
public static final int F4 29
public static final int F5 37
public static final int F6 45
public static final int F7 53
public static final int F8 61
public static final int G1 6
public static final int G2 14
public static final int G3 22
public static final int G4 30
public static final int G5 38
public static final int G6 46
public static final int G7 54
public static final int G8 62
public static final int H1 7
public static final int H2 15
public static final int H3 23
public static final int H4 31
public static final int H5 39
public static final int H6 47
public static final int H7 55
public static final int H8 63
public static final short KING 6
public static final short KNIGHT 1
public static final short MAX_PIECE 6
public static final short MAX_STONE 6
public static final short MIN_PIECE 0
public static final short MIN_STONE -6
public static final int NO_COL -1
public static final short NO_PIECE 0
public static final int NO_RES -1
public static final int NO_ROW -1
public static final int NO_SQUARE -1
public static final short NO_STONE 0
public static final int NOBODY -1
public static final int NUM_OF_COLS 8
public static final int NUM_OF_ROWS 8
public static final int NUM_OF_SQUARES 64
public static final short PAWN 5
public static final short QUEEN 4
public static final int RES_BLACK_WINS 2
public static final int RES_DRAW 1
public static final int RES_NOT_FINISHED 3
public static final int RES_WHITE_WINS 0
public static final short ROOK 3
public static final int WHITE 0
public static final short WHITE_BISHOP -2
public static final short WHITE_KING -6
public static final short WHITE_KNIGHT -1
public static final short WHITE_PAWN -5
public static final short WHITE_QUEEN -4
public static final short WHITE_ROOK -3

chesspresso.game.GameHeaderModel
public static final int MODE_ALL_TAGS 2
public static final int MODE_SEVEN_TAG_ROASTER 0
public static final int MODE_STANDARD_TAGS 1

chesspresso.game.GameMoveModel
static final short COMMENT_END 19
static final short COMMENT_START 18
static final short LINE_END 17
static final short LINE_START 16
public static final int MODE_EVERYTHING 0
static final short NAG_BASE 32
static final short NO_MOVE 0

chesspresso.move.Move
public static final short BLACK_LONG_CASTLE 32444
public static final short BLACK_SHORT_CASTLE 32700
public static final short ILLEGAL_MOVE 1
public static final short NO_MOVE 0
public static final short NUM_OF_OTHER_SPECIALS 4080
public static final int NUM_OF_SPECIAL_MOVES 4096
public static final short OTHER_SPECIALS 16
public static final int SPECIAL_MOVE 0
public static final short WHITE_LONG_CASTLE 28804
public static final short WHITE_SHORT_CASTLE 29060

chesspresso.pgn.PGN
public static final java.lang.String TAG_BLACK "Black"
public static final java.lang.String TAG_BLACK_ELO "BlackElo"
public static final java.lang.String TAG_DATE "Date"
public static final java.lang.String TAG_ECO "ECO"
public static final java.lang.String TAG_EVENT "Event"
public static final java.lang.String TAG_EVENT_DATE "EventDate"
public static final java.lang.String TAG_FEN "FEN"
public static final java.lang.String TAG_RESULT "Result"
public static final java.lang.String TAG_ROUND "Round"
public static final java.lang.String TAG_SITE "Site"
public static final java.lang.String TAG_WHITE "White"
public static final java.lang.String TAG_WHITE_ELO "WhiteElo"
public static final char TOK_ASTERISK 42
public static final char TOK_COMMENT_BEGIN 123
public static final char TOK_COMMENT_END 125
public static final char TOK_LBRACKET 60
public static final char TOK_LINE_BEGIN 40
public static final char TOK_LINE_COMMENT 59
public static final char TOK_LINE_END 41
public static final char TOK_NAG_BEGIN 36
public static final char TOK_PERIOD 46
public static final char TOK_PGN_ESCAPE 37
public static final char TOK_QUOTE 34
public static final char TOK_RBRACKET 62
public static final char TOK_TAG_BEGIN 91
public static final char TOK_TAG_END 93

chesspresso.pgn.PGNReader
static final int TOK_EOF -1
static final int TOK_EOL -2
static final int TOK_IDENT -3
static final int TOK_NO_TOKEN -100
static final int TOK_STRING -4

chesspresso.pgn.PGNSyntaxError
public static final int ERROR 0
public static final int MESSAGE 2
public static final int WARNING 1

chesspresso.position.FEN
public static final java.lang.String START_POSITION "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"

chesspresso.position.ImmutablePosition
public static final int ALL_CASTLES 15
public static final int BLACK_CASTLE 12
public static final int BLACK_LONG_CASTLE 4
public static final int BLACK_SHORT_CASTLE 8
public static final int NO_CASTLES 0
public static final int WHITE_CASTLE 3
public static final int WHITE_LONG_CASTLE 1
public static final int WHITE_SHORT_CASTLE 2

chesspresso.position.Position
public static final int E 3
public static final int N 5
public static final int NE 4
public static final int NO_DIR -1
public static final int NUM_OF_DIRS 8
public static final int NW 6
public static final int S 1
public static final int SE 2
public static final int SW 0
public static final int W 7