notnil / chess

chess package for go
MIT License
508 stars 126 forks source link

Draw Arrows on SVGs #137

Open jcalabro opened 4 months ago

jcalabro commented 4 months ago

Closes https://github.com/notnil/chess/issues/136

This PR adds the ability to draw arrows on to svg images. I used a similar style to what is found on chess.com as the default, but colors are user-configurable as well.

Examples are in the tests here, and image test assets have been updated.

jcalabro commented 2 months ago

Hi @notnil! Was wondering if you had thoughts on this PR? I've been using my fork locally for a couple months now