chessboardjs icon indicating copy to clipboard operation
chessboardjs copied to clipboard

Add green arrows for analysis boards

Open SolitudeSA opened this issue 11 years ago • 7 comments

I love chessboardjs, it's simple to use and well thought out.

Something that I can really use though is analysis arrows so that the board can be used as an analysis board for videos and demonstrations.

For instance a SetArrow and a RemoveArrow function. From one square to another. An example of such a board is Chess.com's Live analysis board where one can right click on a square and drag to another square after which is will create an arrow.

Keep up the good work!

SolitudeSA avatar Feb 01 '14 08:02 SolitudeSA

+1, will be a good feature to have.

shaktisd avatar Mar 13 '14 06:03 shaktisd

I like this idea, but I'm not sure it belongs in chessboard.js core.

Might be better suited as something like a plugin to core functionality?

oakmac avatar Jun 24 '14 19:06 oakmac

I don't mind if it's a plugin or part of the core chessboard.js. I do know that I would absolutely love to have it available.

I tried to do it myself a while back but unfortunately I don't know front end development that well at all.

I would be forever grateful if someone is able to create something like this. :-)

SolitudeSA avatar Jun 25 '14 11:06 SolitudeSA

+1 for it... someone started some plugin? I'm interested to help

brunobbbs avatar Feb 11 '16 19:02 brunobbbs

Nope I never did create a plugin. One would be great though!

SolitudeSA avatar Feb 12 '16 04:02 SolitudeSA

I've forked version 0.3.0 in order to add arrow support, which I needed for my own application. The fork is available from: https://github.com/raneku/chessboardjs

Demo available here: https://rawgit.com/raneku/chessboardjs/master/www/releases/0.3.0-r1/test.html

I may get around to offering this as a separate plugin at some stage.

raneku avatar Jan 18 '17 12:01 raneku

@raneku you would submit a pull request with this enhancement

brunobbbs avatar Jan 26 '17 12:01 brunobbbs