Skip to content

Legal castling #64

@Hardcode3

Description

@Hardcode3

🎯 Goal

Generate castling moves correctly.

🧠 Key Idea

Castling is a special rule, not a normal move.

🛠️ Tasks

  • Verify castling rights
  • Verify empty path
  • Verify non-attacked squares
  • Emit castling move

✅ Acceptance Criteria

  • No illegal castling
  • Fully perft-compatible

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