A version of the game of Nim is used to illustrate the minmax strategy in Rosen's Discrete Mathematics and Its Applications, 3ed, chapter 11 p. 768. I understand the +1
and -1
labels here. However, why is there not a [121]
node at the second level? (question 1)
However, I had trouble understand this part (question 2):
Say if I start from the rightmost node [21]
in the second level. The first player will seek to win, and thus will choose one of the two +1
options in the level below. The second player will be forced to pick up the last stone and thus lose. So shouldn't the value of this node [21]
be +1
instead?
Say if I start from the rightmost node [1]
of the third level, the first player must pick up the only stone there is. So shouldn't the value of this node be -1
in this case?
I am so confused by the stated Theorem 3. Please help.
121
node? What is the difference between having taken a single stone from the first pile that has two stones versus having taken a single stone from the second pile that has two stones? Hardly anything... in both cases you are left with one pile with two stones, and two piles with one stone each. Why then should we bother writing them as separate cases? $\endgroup$221
. Having traveled from that root node to21
the first player took his turn to empty one of the piles of two stones. It is now the second player's turn. The second player now has the choice as to which play to make and will choose to empty the remaining pile of two stones which leaves just a single pile with a single stone in it for the first player's turn. The first player has no legal moves remaining and thus loses. It is the second players choice where to continue from21
. $\endgroup$The value of a vertex of a game tree tells us the payoff to the first player if both players follow the minmax strategy and play starts from the position represented by this vertex.
I am trying to understand it, and the numbering of the second picture. $\endgroup$