Nim is a mathematical game of strategy. It is played by two players competing against each other. The game starts with three numbers and the players take turns reducing one of the numbers by any amount (no numbers lower than zero are allowed). The player to make the last non-zero number a zero is the winner. Nim is a game that can trace its roots back to ancient China. It has great mathematical importance, but is also very fun to play.