=== Name Move Pieces === Description Use the move method to make one or more moves on the board. === HTML
=== JS var board = ChessBoard('board', 'start'); $('#startPositionBtn').on('click', board.start); $('#move1Btn').on('click', function() { board.move('e2-e4'); }); $('#move2Btn').on('click', function() { board.move('d2-d4', 'g8-f6'); });