oakmac / chessboard2

chessboard.js v2
ISC License
81 stars 7 forks source link

move method should support castling #6

Open oakmac opened 1 year ago

oakmac commented 1 year ago

.move('0-0') and .move('0-0-0') should work as expected, if possible on the board.

We might have to come up with a special syntax to indicate whether the move is for white or black.