Sign inSign up

Chinese Chess Flip Chess (Original)

Add-ons
2026-07-21 12:34 9 views • 0 downloads 7.2KB
Chinese Chess Flip Chess (Original)

Last Updated: 2022-11-30 23:26:39

It's very easy to use:

1. Include jquery, index.js, and index.css

2. Initialize the plugin

1
2
3
4
5
6
7
8
$(function() {
var $btn = $('.start'); // Button
var myCNChessInvert = new CNChessInvert('[data-chess]', $btn, true);
myCNChessInvert.restart();
$btn.click(function() {
myCNChessInvert.restart();
});
});

For details, download the files and check the index.html source code. It's easy to understand!