Bits and Beyond ...
Nim is a game played by two players. The game
consists of chips that are arranged in an arbitrary number of piles, having an
arbitrary number of chips in each pile. Players take turns removing one or
more chips from any one pile. The object of the game is to win by being
the last player to remove the last chip.