Interactives
Assisted Game of Nim
Visualize the XOR strategy! Heaps are broken down into powers of 2. Red borders show powers that appear an odd number of times - these are your winning moves!

Click any stone to remove it and all stones to its right. The visual breakdown shows powers of 2 - red borders indicate winning moves in the XOR strategy!