export const USI_BLACK_PIECES = ['P', 'L', 'N', 'S', 'G', 'K', 'R', 'B'];
export const USI_WHITE_PIECES = ['p', 'l', 'n', 's', 'g', 'k', 'r', 'b'];

export const USI_BLACK_TEAM = 'black';
export const USI_WHITE_TEAM = 'white';

export const USI_NULL_TYPE = '*';

export const USI_PAWN_BLACK_TYPE = 'P';
export const USI_PAWN_BLACK_PROMOTE_TYPE = 'P+';
export const USI_PAWN_WHITE_TYPE = 'p';
export const USI_PAWN_WHITE_PROMOTE_TYPE = 'p+';

export const USI_LANCE_BLACK_TYPE = 'L';
export const USI_LANCE_BLACK_PROMOTE_TYPE = 'L+';
export const USI_LANCE_WHITE_TYPE = 'l';
export const USI_LANCE_WHITE_PROMOTE_TYPE = 'l+';

export const USI_KNIGHT_BLACK_TYPE = 'N';
export const USI_KNIGHT_BLACK_PROMOTE_TYPE = 'N+';
export const USI_KNIGHT_WHITE_TYPE = 'n';
export const USI_KNIGHT_WHITE_PROMOTE_TYPE = 'n+';

export const USI_SILVER_BLACK_TYPE = 'S';
export const USI_SILVER_BLACK_PROMOTE_TYPE = 'S+';
export const USI_SILVER_WHITE_TYPE = 's';
export const USI_SILVER_WHITE_PROMOTE_TYPE = 's+';

export const USI_GOLD_BLACK_TYPE = 'G';
export const USI_GOLD_WHITE_TYPE = 'g';

export const USI_ROOK_BLACK_TYPE = 'R';
export const USI_ROOK_BLACK_PROMOTE_TYPE = 'R+';
export const USI_ROOK_WHITE_TYPE = 'r';
export const USI_ROOK_WHITE_PROMOTE_TYPE = 'r+';

export const USI_BISHOP_BLACK_TYPE = 'B';
export const USI_BISHOP_BLACK_PROMOTE_TYPE = 'B+';
export const USI_BISHOP_WHITE_TYPE = 'b';
export const USI_BISHOP_WHITE_PROMOTE_TYPE = 'b+';

export const USI_KING_BLACK_TYPE = 'K';
export const USI_KING_WHITE_TYPE = 'k';

@@ -1515,12 +1515,546 @@
 TYPE = 'k';%0A
+%0Aexport const IMAGE_UPSIDE_PREFIX = 'S';%0Aexport const IMAGE_DOWNSIDE_PREFIX = 'G';%0Aexport const PIECE_TYPE_TO_IMAGE_FILE_MAP = %7B%0A  'p': 'fu',%0A  'P': 'fu',%0A  'p+': 'to',%0A  'P+': 'to',%0A  'l': 'kyo',%0A  'L': 'kyo',%0A  'l+': 'nkyo',%0A  'L+': 'nkyo',%0A  'n': 'kei',%0A  'N': 'kei',%0A  'n+': 'nkei',%0A  'N+': 'nkei',%0A  's': 'gin',%0A  'S': 'gin',%0A  's+': 'ngin',%0A  'S+': 'ngin',%0A  'g': 'kin',%0A  'G': 'kin',%0A  'r': 'hi',%0A  'R': 'hi',%0A  'r+': 'ryu',%0A  'R+': 'ryu',%0A  'b': 'kaku',%0A  'B': 'kaku',%0A  'b+': 'uma',%0A  'B+': 'uma',%0A  'k': 'ou',%0A  'K': 'ou'%0A%7D%0A

Add image constants.