🪨 Nim

Take turns with the computer. On your turn, take as many stones as you like from one row. Whoever takes the last stone wins.

About the puzzle

Games like Nim are very old, but Charles Bouton named it and solved it completely in 1901, with the binary trick shown here.

In 1951 a machine called Nimrod played Nim against visitors at the Festival of Britain. It was one of the first computers ever built just to play a game, and most visitors lost.