Teensy Problems: Falling Leaves
Autumn and Yvonne love to play “falling leaves” this time of year. They play on a tree containing some number of leaves (possibly none) on its left and right sides. Starting with Autumn, each player takes turn choosing a leaf. All leaves at or below the chosen leaf on the same side of the tree fall to the ground. The game ends once the tree is out of leaves; whoever is the last to choose a leaf is the winner.
A sample game with 2 leaves on the left and 3 on the right, with Autumn’s choices in red and Yvonne’s in yellow, is shown below. In this game, Yvonne is the winner.
-
Solve this game. That is, for each $L$, $R \geq 0$, determine if, on a tree with $L$ leaves on the left and $R$ on the right, a win is forced for Autumn or Yvonne, and if so, outline a strategy for the winner to respond to any move from their opponent.
-
Read about https://en.wikipedia.org/wiki/Nim, either because you want to know more about combinatorial game theory, or you need a hint.