-
Notifications
You must be signed in to change notification settings - Fork 0
Open
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
Restrict legal moves while in check.
🧠 Key Idea
| Situation | check_mask |
|---|---|
| No check | FULL |
| Non-sliding check | Checker square |
| Sliding check | Ray king <-> checker |
| Double check | EMPTY |
🛠️ Tasks
- Implement ray_between(a, b)
- Identify checker type
- Build check_mask
✅ Acceptance Criteria
- Only moves that resolve check are generated
- No illegal evasions allowed
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.