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: new argument for chess.svg.board() #1074

Open
toolonely opened this issue Mar 26, 2024 · 1 comment
Open

Feature request: new argument for chess.svg.board() #1074

toolonely opened this issue Mar 26, 2024 · 1 comment

Comments

@toolonely
Copy link

I would like a show_FEN: bool = False argument that will explicitly draw the FEN string either above or below the board in the resulting svg code. Thanks.

@toolonely
Copy link
Author

toolonely commented Mar 28, 2024

On a second thought, if the board isn't loaded with a FEN, but with a game (sequence of moves), I'd also like the last move that was made displayed. And if it's Black's turn, it has to be specified as well, so the generated image resembles a diagram in chess books (which assume White's move by default, but specify it's Black's move when it is)

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

No branches or pull requests

1 participant