Open hb20007 opened 3 months ago
I like this idea. I wrote up a small change to demo it. On my branch it looks like this
I use the highlight.custom
API to get it to work. @schlawg or any other maintainers, if I spend a few hours on polishing my branch would you consider merging it? I would make it an opt-in
feature and not a default.
Recently, an image of a chess position was shared on Chess Stack Exchange where the captured piece was shown on the board in a useful and interesting way, which led to many people wondering about what software was used to create it.
In the end, it seems that the image was simply edited for this effect, but it would be great to add this feature to chessground as a toggleable display setting.
It might be challenging to find the right CSS that would work with all piece sets, and there might also be difficulties in implementing this for edge squares. However, this feature is useful for remembering what piece was captured, and also taking screenshots of positions to quickly share on forums or social media is fairly common.