Skip to content

Feat: Restrict Moves When in Check #5

Description

@MrXMrQ

If the king is in check by an enemy piece, block all input for friendly pieces except those that can prevent the check. For example, allow only the king to move if escaping is possible and king is the only option, or allow a bishop or any other piece to block the attack or capture the attacker.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

featurenew feature for the project

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions