-
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
Tweak compile‑time parameters to balance strength ↔ memory.
| Macro / Template Arg | Purpose | Trade‑off |
|---|---|---|
MaxMoves |
Size of the Move scratch buffer. |
↑ RAM static |
MaxDepth |
Tree search depth. | ↑ Flash, ↑ CPU |
evaluate() scale |
Range of scores. | Too large wastes bits; too small causes collisions |
- Normalize scores around 0; use symmetric ± values.
- Use
int16_ton AVR when possible.
- Disable Serial debug prints (
#define MINIMAX_VERBOSE 0). - Store lookup tables in PROGMEM.
- Prefer bit‑packed boards (example: Checkers uses 4‑bit squares).
© 2025 Trent M. Wyatt