Skip to content

Generate pseudo-legal moves #21

@Hardcode3

Description

@Hardcode3

Generate pseudo-legal moves for the chess engine from a given board layout.

Using:

  • attack masks for sliding and non sliding pieces
  • occupancy

Generate all moves without filtering out checks.

Pseudo-legal moves include:

  • captures
  • quiet moves (no capture)
  • pawn promotions
  • castling (check empty squares, rook/king unmoved and no attacked squares)
  • en passant

Sub-issues

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

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions