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

Any chance you could add support for L-shaped arrows for the knights? #96

Closed vesper8 closed 1 year ago

vesper8 commented 1 year ago

I was wondering how difficult this might be to add, or if anyone has managed to do this? chess.com, and I believe Lichess as well but not sure, has support for L-shaped arrows that mimic the movement of knights.

I guess these arrows would then take in 3 coordinates instead of two, shouldn't be too hard to accomplish IMO. Maybe it's already possible and I missed it.

Any feedback on this @barakmich?

Many thanks!

shaack commented 1 year ago

I don't think so, sorry