中国象棋翻翻棋,休闲,对战,娱乐,小游戏,在线

使用 Apache-2.0 开源许可协议,商用请联系原创作者me。
<div class="content">
<div data-chess>div>
<div>
<button type="button" class="start">开始游戏button>
div>
div>
$(function(){
var $btn = $('.start');
var myCNChessInvert = new CNChessInvert('[data-chess]', $btn, true);
myCNChessInvert.restart();
$btn.click(function() {
myCNChessInvert.restart();
});
});