chessSymbols()
#
Object literal which defines the key to symbol mappings of a chess game as:
static chessSymbols = {
K: '♔', Q: '♕', R: '♖', B: '♗', N: '♘', P: '♙',
k: '♚', q: '♛', r: '♜', b: '♝', n: '♞', p: '♟'
}
Observation
UseQuadrille.setChessSymbols(chessSymbols)
to customize the mappings.
Syntax #
Quadrille.chessSymbols()