Chess.js

var board2 = Chessboard('board2', {
  draggable: false,
  dropOffBoard: 'trash',
  sparePieces: true
})

$('#startBtn').on('click', board2.start)
$('#clearBtn').on('click', board2.clear)
Obedient Okapi