The Game of Nim

The game of Nim is designed for two players. There are three piles of matches. The players take it in turns to remove any number of matches they choose from just one of the piles. The winner is the person who removes the last match. The implementation of the game has the computer as one of the players. The human player always goes first. You should be able to win rather more than half the time.

Click here to play the game of Nim.

The two java applets (Henon and Nim) may not run in your browser. Internet Explorer 4 or later seems best.

Web page maintained by Camilla Jordan (Camilla.Jordan at Last updated 17 March 2016