Skip to content

Feat: Restrict Moves When in Check #5

@MrXMrQ

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.

Metadata

Metadata

Assignees

Labels

featurenew feature for the project

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions