Skip to content

Legal sliding moves (bishop, rook, queen) #62

@Hardcode3

Description

@Hardcode3

🎯 Goal

Generate sliding piece moves legal by construction.

🧠 Key Idea

attacks
∩ ~own
∩ check_mask
∩ (pin_ray OR FULL)

🛠️ Tasks

  • Implement:
    • generate_legal_bishop_moves
    • generate_legal_rook_moves
    • generate_legal_queen_moves
  • No post-generation filtering

✅ Acceptance Criteria

  • Pins fully respected
  • No illegal interpositions

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