Skip to content

Check-mate #5

@Jarkob

Description

@Jarkob

Implement correct check-mate functionality. Currently the game is over if a player takes the enemy king. The desired behaviour is that the game ends when the king is inevitably threatened. For that if the king is threatened, all possible move options need to be checked to determine if the threat can be defended. This will be complicated, because the game needs to know all possible move options at runtime.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions