-
Notifications
You must be signed in to change notification settings - Fork 1
Configuration Guide
Trent M. Wyatt edited this page Apr 23, 2025
·
2 revisions
Tune compile‑time parameters for your 2 KB RAM / 32 KB flash microcontroller.
| Parameter | Purpose | Trade‑off |
|---|---|---|
MaxMoves |
Size of the Move scratch buffer |
↑ Static RAM |
MaxDepth |
Search depth (ply) | ↑ Flash & CPU |
| Heuristic scale | Range of evaluate() scores |
Too wide wastes bits; too narrow causes ties |
- Keep scores symmetric around 0.
- Use
int16_tfor AVR.
- Disable Serial debug prints (
#define MINIMAX_VERBOSE 0). - Store constant tables in PROGMEM.
- Represent boards with bit‑packed integers.
© 2025 Trent M. Wyatt