Chess Symbols

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
Use Quadrille.setChessSymbols(chessSymbols) to customize the mappings.

Syntax #

Quadrille.chessSymbols()