Skip to content

Implement Check mechanism. #2

@tomershush

Description

@tomershush

Add Check mechanism to the game. Make sure player can't go into Check, nor can he play when checked.
Things to note:

  1. Make sure to prevent King infinite loop.
  2. When player can't leave Check, it's a Mate.
  3. Add special status code for Check. (Write status message as well)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions