Skip to content
Embercode
✕
Game theoryQuick quiz

Outcomes and Nim

8 questions. Covers Nim and the XOR rule.

Questions 1 to 5 of 8

  1. 1. Piles 1, 2 and 3 have XOR 0. What is true for the player to move?
  2. 2. What is the XOR of the piles 6, 7 and 9?

    Type a number.

  3. 3. Match each term to its meaning.

    Choose the matching item for each row.

  4. 4. Put the steps for finding a winning Nim move in order.

    Use the arrows to put the steps in order.

    1. 1.Find the highest set bit of that XOR.
    2. 2.Set the new size of that pile to the pile XOR the total.
    3. 3.Pick a pile that has that bit set.
    4. 4.Compute the XOR of all pile sizes.
    5. 5.Take the stones that leave that pile at its new size.
  5. 5. Piles 3, 4 and 5 have XOR 2. Which statements about the winning move are true?

    Pick every answer that is true.

4 question(s) left on this page.

Typed answers ignore extra spaces and, for most questions, capital letters.