yo35 / rpb-chessboard

A WordPress plugin to display chess games and diagrams (using the standard FEN and PGN notations).
https://wordpress.org/plugins/rpb-chessboard/
GNU General Public License v3.0
35 stars 16 forks source link

RPB Chessboard utilization for OSSN ??? #166

Closed janlwi971 closed 8 months ago

janlwi971 commented 4 years ago

I am looking to develop a chess diagram tool for OSSN platform :

Is it possible to adapt RPB Chessboard tool to OSSN (Open Source Social Network) platform ?

Thanks in advance.

yo35 commented 4 years ago

Hi,

All the chess logic (including checking whever a move is legal or not, and FEN and PGN parsing) is implemented as a separate JavaScript library: https://www.npmjs.com/package/kokopu, and can be reused in other projects.

The rest remains tied to the WordPress environment for the moment. At some point, I would like extract the diagram and game rendering as well the chess logic, but this is not for tomorrow.

yo35 commented 8 months ago

Diagram and game rendering is now available as an independent JavaScript/TypeScript library: https://www.npmjs.com/package/kokopu-react