Game trees, one step at a time: minimax, alpha-beta, three player

What the exam asks you to produce. The value at every internal node; α and β written AT each node as the pair that node received, updated as its loop runs; every cut marked with the inequality that caused it; the whole subtree below a cut crossed out; the leaf count; and one sentence saying that reordering changes the work and never the root value.

Part 7 archetypes A12 (minimax plus alpha-beta plus reorder) and A13 (three player vectors). Anchored on the deck's p.26 pseudocode: the test runs BEFORE the update, and the comparisons are non-strict. Part 7 chapter · pack index

step 0 of 0

MAX node MIN node terminal (leaf) = v exact value ≥ v lower bound (MAX returned early) ≤ v upper bound (MIN returned early) struck never generated amber changed this step

Step log

What you would write at this node

Deck p.26 pseudocode, live


      

The highlighted line is the one this step executes.

Trace table: one row per step, the shape of a written answer

The problems, and where each number comes from

Which cut is called "alpha" and which "beta"

The course states the rule twice and the two statements attach the Greek letters to opposite ends of the same cut. Both are internally consistent. This visualiser anchors on the deck p.26 pseudocode and prints the exercise-session naming beside every cut, so a hand answer written from either reading matches.

SourceHow the rule is writtenNode where the loop stopsLetter naming that cut
Deck pp.25 and 26min-value: if v ≤ α return va MIN nodeα (inherited from a MAX ancestor)
Deck pp.25 and 26max-value: if v ≥ β return va MAX nodeβ (inherited from a MIN ancestor)
Exercise session 5 solutions, slide 26"Prune: Max node ≥ β"a MIN nodeβ (that MIN node's own running bound)
Exercise session 5 solutions, slide 42"Prune: Min node ≤ α"a MAX nodeα (that MAX node's own running bound)

The safe exam answer marks each cut with the inequality that produced it and defines α and β as the best value MAX or MIN can already secure on the path to the root. Then the drawing is correct under either reading.

Mistake modes: what they are and where they bite