Q3 — Game Tree: Strategies, Alpha-Beta and SSS*
One game tree, four questions — what a strategy really is, where Alpha-Beta cuts, and which leaves SSS* actually solves.
The Question
A game tree with evaluation values at the horizon nodes A–G. Squares = MAX to move, circles = MIN to move. Tie-breaker: deepest node first, then leftmost.
Rectangles = MAX to move, circles = MIN to move.
| # | Question | Official answer |
|---|---|---|
| 3.1 | Which of the following is a strategy for MAX? (A: C,D,E · B: A,C · C: A,B · D: A,D,F) | A and C |
| 3.2 | Horizon nodes in MAX's best strategy | C,F,G |
| 3.3 | Horizon nodes pruned by Alpha-Beta | F,G |
| 3.4 | Horizon nodes SOLVED by SSS* | A,C,D,E |
The Topic in 60 Seconds
Minimax backup: MAX nodes take the max of their children, MIN nodes take the min. Leaves already hold their evals.
Strategy for MAX = a complete plan: at every MAX node pick exactly one child; the set must not split across two children of any MAX node. MIN's replies stay inside the set — every leaf the opponent can force lands in it.
Best strategy = the valid strategy whose worst leaf is best: Its guarantee equals the minimax value of the root.
Alpha-Beta prunes with a window : cut the remaining children the moment (β-cutoff at a MAX node, α-cutoff at a MIN node).
SSS* solves leaves by proving values top-down; leaves it never needs to touch are never solved.
Deep-dive: Minimax, Game Strategies, Alpha-Beta Pruning, SSS*.
Step 0 — Back up the tree
Work bottom-up:
- ,
- (via , then )
3.1 — Valid strategies → A (C,D,E) and C (A,B)
Apply the split test — leaves under any MAX node must come from a single child of it:
| Option | Check | Verdict |
|---|---|---|
| A: C,D,E | Root: C via N₂, D,E via N₂ ✓ (all one child). M: D,E via P₁ only ✓ | Valid |
| B: A,C | Root: A via N₁ but C via N₂ — split! | Invalid |
| C: A,B | Root: both via N₁ ✓. N₁ is MIN — both its leaves included ✓ | Valid |
| D: A,D,F | Root: A via N₁, D,F via N₂ — split! | Invalid |
A legal set = one committed choice per MAX node, with MIN's alternatives kept whole. A,B = "MAX goes left at the root" (MIN may pick A or B). C,D,E = "MAX goes right at the root, and if MIN hands over M, MAX commits to P₁" (C, or the pair D/E).
3.2 — Best strategy → C,F,G
The root value 26 is achieved through :
- Root (MAX) commits to .
- (MIN) keeps all its children: C and the M subtree.
- M (MAX) commits to (62 beats 52).
- (MIN) keeps all: F and G.
Horizon set: C, F, G — guarantee = the minimax value ✓.
3.3 — Alpha-Beta prunes → F,G
Left-to-right, depth-first. Root MAX starts with .
| Node | Window | Result |
|---|---|---|
| (MIN) | A: 24 → ; B: 34 no change. Returns 24 | |
| Root | — | |
| (MIN) | C: 26 → ; continue (24 < 26) | |
| (MAX) | (MIN): D=52, E=54 → 52; → β-cutoff! | |
| pruned | F, G never inspected ✓ |
already has 52, which its MIN parent will never take (26 is smaller) — so 's whole subtree is irrelevant. Pruned: F, G.
Step through the full α-β trace — the window is written at every node, exactly as you'd annotate the exam paper:
3.4 — SSS* solves → A,C,D,E
SSS* processes the most promising line first, proving values:
- A solved with 24 → can do no worse than… wait, MIN wants low: B (34) is LIVE with bound 24 but 34 > 24 can't improve → B discarded.
- solved at 24. Root's other child (bound ∞) is now the only hope for MAX.
- C solved with 26 → . M is LIVE with bound 26 (MAX needs to prove ≥ 26).
- 's leaves: D solved (52 ≥ 26, proves its point), E solved (54, same).
- ⟹ proven — (F, G) is never expanded.
Solved horizon nodes: A, C, D, E ✓ — B was discarded, F and G were never needed.
SSS* processes the most promising line first, proving values top-down. Step through it:
Tricks & Tips for This Question Family
Answers: 3.1 A, C · 3.2 C,F,G · 3.3 F,G · 3.4 A,C,D,E