Subscribe to
Posts
Comments
NSLog(); Header Image

Winning at Nim

If the idea is to create a nim sum of 0 as this article proposes, then I've yet to find a way to win at this game of Nim.

D'oh. Once I figured out that I could make Marvin go first I won the first time. The nim sum is already 0 when you start the game, so you have to make Marvin upset the balance right away:

111 = 7
101 = 5
011 = 3
001 = 1
---
224