📅  最后修改于: 2022-03-11 15:02:33.936000             🧑  作者: Mango
var board2 = Chessboard('board2', {
draggable: false,
dropOffBoard: 'trash',
sparePieces: true
})
$('#startBtn').on('click', board2.start)
$('#clearBtn').on('click', board2.clear)