Closed slolo2000 closed 2 years ago
Add the possibility to support boards smaller than 8x8 for games similar to chess or for creating puzzle for young players It's also possible to create a non-squared board.
The behavior is controller by a config params: numRows: int numColumns: int
Example: var boardConfig = { position: '6/p5/k5/b1Q3/4qN/RK4 w - - 1 1', showNotation: true, numRows: 6, numColumns: 6 } board = Chessboard('myBoard', boardConfig);
Add the possibility to support boards smaller than 8x8 for games similar to chess or for creating puzzle for young players It's also possible to create a non-squared board.
The behavior is controller by a config params: numRows: int numColumns: int
Example: var boardConfig = { position: '6/p5/k5/b1Q3/4qN/RK4 w - - 1 1', showNotation: true, numRows: 6, numColumns: 6 } board = Chessboard('myBoard', boardConfig);