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

Is king under attack prop #8

Closed
wojtus7 opened this issue Jan 3, 2021 · 1 comment
Closed

Is king under attack prop #8

wojtus7 opened this issue Jan 3, 2021 · 1 comment

Comments

@wojtus7
Copy link

wojtus7 commented Jan 3, 2021

Hi!
Is there a simple way to add isKingAttacked in exported JSON?
It would be really helpful to show notifications about such events for players on screen.
As far as I looked into it there is no simple way to determine it straight from FEN 😓

@wojtus7 wojtus7 changed the title Is king under attack. Is king under attack prop Jan 3, 2021
@wojtus7 wojtus7 closed this as completed Jan 3, 2021
@wojtus7
Copy link
Author

wojtus7 commented Jan 3, 2021

I cant read API properly, there is already such prop
Sorry I'm super empty-minded sometimes 🤫
It happened because I used 0.5.2 till now, and just realized you pushed a new version.

Good job BTW, a good library 😍

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