Nim is about as simple as a game gets. Lay out a few heaps of coins. Players take turns; on your turn you pick one heap and remove as many coins as you like from it — at least one. Whoever takes the last coin wins.
That's the whole game. No board, no dice, no hidden information. And yet, if you sit a beginner down against someone who knows the trick, the beginner will lose every single time — the expert can announce the winner before a coin is touched.
The reason is not cleverness or memory. It is a single arithmetic operation hiding inside the pile sizes. Nim is one of the rare games that mathematics has not just studied but completely solved: there is a known formula that tells you the perfect move in every position.
Comments
Loading comments...