Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request for shading feature #6

Open
cshancock opened this issue Dec 12, 2020 · 1 comment
Open

Feature request for shading feature #6

cshancock opened this issue Dec 12, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@cshancock
Copy link

Very cool package.

A plotting feature I'd find useful is to highlight squares based on criteria. For example, if White has a pawn on d4, shade or color c5 and e5 as squares that the pawn could capture on next move. Maybe allow for modifiers like the number of moves forward to evaluate over (d4 could attack c5, e5, b6, d6, and f6 over the next two moves). Or instead of squares you could attack, you can shade squares you could move into (d4 can move to c5, d5, e5, b6, c6, d6, e6, f6 over next two moves).

@clente clente self-assigned this Dec 12, 2020
@clente clente added the enhancement New feature or request label Dec 12, 2020
@clente
Copy link
Member

clente commented Dec 12, 2020

Thanks for using {chess}! Would implementing chess.svg.board's arguments be enough?

https://python-chess.readthedocs.io/en/latest/svg.html#chess.svg.board

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants