Skip to content

Legal non-sliding moves (knights) #61

@Hardcode3

Description

@Hardcode3

🎯 Goal

Generate legal knight moves.

🧠 Key Idea

A pinned knight has zero legal moves.

🛠️ Tasks

  • Skip knights in pinned
  • Apply:
    • ~own_pieces
    • check_mask

✅ Acceptance Criteria

  • Pinned knights generate no moves
  • Free knights behave correctly

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