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

Notify when kings are checked on board #45

Merged
merged 2 commits into from
Sep 28, 2024
Merged

Conversation

pdil
Copy link
Member

@pdil pdil commented Sep 28, 2024

  • Added didCheckKing(ofColor:) method to BoardDelegate to notify when a king is placed in check.
  • Made Move.checkState and Move.disambiguation publicly readable

resolves #38

@pdil pdil added the enhancement A suggestion or feature that improves existing functionality label Sep 28, 2024
@pdil pdil self-assigned this Sep 28, 2024
@pdil pdil marked this pull request as ready for review September 28, 2024 17:01
@pdil pdil merged commit f37fa69 into master Sep 28, 2024
6 checks passed
@pdil pdil deleted the feature/publish-king-checks branch September 28, 2024 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A suggestion or feature that improves existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider notifying when the king is in check
1 participant