Skip to content

v0.1.0 Legal Move Generation (Legal by Construction)

Open
No due date
Last updated Dec 27, 2025
58% complete

Global goal
Replace pseudo-legal generation + filtering with a fully legal move generation pipeline, based on:

  • bitboards
  • attack tables
  • pins
  • check masks

No make/unmake during move generation.

Note:

[Interface / Application Layer]  <- GUI, UCI, CECP, input/output, clocks
        │
        ▼
[Engine / Search Layer]          <- Minimax, Alpha-Beta, MCTS, évaluation
        │
        ▼
[Move Generation Layer]          <- generate_legal_moves()
        │
        ▼
[Piece Move Layer]               <- generate_legal_X_moves()
        │
        ▼
[Bitboards / Rays Layer]         <- bishop_attacks(), rook_attacks(), etc.

List view