-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
featImplementation of a new featureImplementation of a new featuremove-generationChess moves generation (legal, pseudo-legal).Chess moves generation (legal, pseudo-legal).testingAdding, updating or removing any kind of tests.Adding, updating or removing any kind of tests.
Description
🎯 Goal
Detect king status:
- not in check
- single check
- double check
🧠 Key Idea
checkers = attackers_to(king_square, enemy)
bool in_check = !checkers.empty();
bool double_check = popcount(checkers) >= 2;🛠️ 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 featureImplementation of a new featuremove-generationChess moves generation (legal, pseudo-legal).Chess moves generation (legal, pseudo-legal).testingAdding, updating or removing any kind of tests.Adding, updating or removing any kind of tests.