shaack / cm-chessboard

A JavaScript chessboard without dependencies. Rendered in SVG, coded in ES6. Views FEN, handles move input, animated, responsive, expandable
MIT License
216 stars 68 forks source link

No implementation for setting position by drag & drop #22

Closed vladlen-volkov closed 3 years ago

vladlen-volkov commented 3 years ago

There is no solution for implemention "spare pieces" out of the box. If this is a desired feature, but it won't be done anytime soon (I mean no work has started), I can try adding it by myself.

shaack commented 3 years ago

I thought about it, but then implemented an editor without draggable spare pieces: https://shaack.com/projekte/cm-fen-editor/ it works not bad. But if you want, you can add the implementation of draggable spare pieces to cm-chessboard. I would prefer a kind of plugin-solution to not bloat the core code.