GitHub repository: DapSolve32/Nim
Created: 2019-12-30T16:08:37Z
Description: Nim is a mathematical game of strategy in which two players take turns removing (i.e., nimming) objects from distinct heaps or piles. 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/pile. Depending on the version being played, the goal of the game is either to avoid taking the last object, or to take the last object.  Variants of Nim have been played since ancient times.[1] The game is said to have originated in China—it closely resembles the Chinese game of 捡石子 jiǎn-shízi, or "picking stones"[2]—but the origin is uncertain; the earliest European references to Nim are from the beginning of the 16th century. Its current name was coined by Charles L. Bouton of Harvard University, who also developed the complete theory of the game in 1901,[3] but the origins of the name were never fully explained.