by Calculus » Thu, 10May27 12:02
If the wikipedia article is too bothersome for you, here's the solution:
The setup is 1, 3, 5, 7. Since 1 xor 3 xor 5 xor 7 = 0, the starting player is in a losing position. Should you be the starting player just clear the stones quickly. After you lose click the picture to start a new game.
Once Ariane starts, just make the move that results in heap 1 xor heap 2 xor heap 3 xor heap 4 = 0. For example if Ariane takes 1 from heap 3, you have (1, 3, 4, 7):
001
011
100
111
The xor is 1. So you can (for example) take away the first heap. Repeat that until you're at (1, 1, 3) or (1, 2). In the first case take 2 stones from the heap with 3 stones. In the second case take both stones from the heap with 2 stones. Then click the picture to undress her and move on to the next game (which you start and lose).