board2D.js
A JavaScript game library to quickly develop board games for the web
...For an example of how to use the library, you can find two mini samples of tic-tac-toe and chess in the examples directory.
There is no API manual currently, but if you use an editor like Brackets, it will show you the list of functions. Just do not call the functions which start with "__" as those are meant for internal use by the library itself. There is a readme file included in the ZIP which shall get you started.