Nim is a mathematical game of strategy in which two players take turns removing objects from distinct heaps or rows. On each turn, a player must remove at least one object, and may remove any number of objects provided they all come from the same heap or row. This game will teach you how you can win and impress your friends.