brianch / offline-chess-puzzles

Tool to view and solve puzzles from the lichess puzzle database
MIT License
125 stars 17 forks source link

Show where piece can move #25

Open jojo2357 opened 5 months ago

jojo2357 commented 5 months ago

TYSM for the package! I was seriously considering making this myself before I stumbled upon this and I am so glad I did.

Suggestion: have an option such that after selecting a piece, the squares to which it can move are displayed.

brianch commented 5 months ago

Hi! Thank for the suggestion!

I wouldn't put it as a high priority to be honest, but Iced, the GUI library we use, recently added a stack widget that I think could be used to things like this where multiple SVGs would need to be displayed at the same time (it's not in a released version yet, though).

I'll keep it in mind when I update to Iced 0.13 after it gets released, one thing slightly related to this that I think could be nice to add is a highlight circle on right clicks, so it's easier to point squares when discussing things with other people, like in a class, for example.