You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[6/9] Add iterative deepening with aspiration windows and TT move ordering
Implements iterative deepening for better move ordering and future time management:
**Iterative Deepening:**
- Search depth 1, then 2, then 3, ... up to target depth
- Cache persists across all iterations (TT entries reused)
- Killer moves persist across iterations
- Best move from depth N-1 is tried first at depth N (via TT)
**Aspiration Windows:**
- After depth 1, use narrow window (±50 centipawns) around previous score
- If search fails outside window, re-search with doubled window
- Falls back to full window after 500cp expansion
- Reduces nodes searched when score is stable
**TT Move Ordering:**
- Save best move from TT lookup even if score can't be used
- Put TT move first in move list before searching
- Significantly improves move ordering at all depths
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
0 commit comments