Skip to content

Check detection (checkers) #57

@Hardcode3

Description

@Hardcode3

🎯 Goal

Detect king status:

  • not in check
  • single check
  • double check

🧠 Key Idea

checkers = attackers_to(king_square, enemy)

🛠️ Tasks

  • Compute checkers
  • Expose:
    • in_check
    • double_check

✅ Acceptance Criteria

  • Works for all piece types
  • Handles discovered and double checks

Metadata

Metadata

Assignees

Labels

featImplementation of a new featuremove-generationChess moves generation (legal, pseudo-legal).testingAdding, updating or removing any kind of tests.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions