Chinese Chess Flip Chess (Original)
Add-ons

Plugin Description: An online Chinese Chess Flip Chess casual battle game. Download and run it directly. The code includes detailed comments.
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!
评论