Abstract
The game of nim, with its simple rules, its elegant solution and its historical importance is the quintessence of a combinatorial game, which is why it led to so many generalizations and modifications. We present a modification with a new spin: building nim. With given finite numbers of tokens and stacks, this two-player game is played in two stages (thus belonging to the same family of games as e.g. nine-men’s morris): first building, where players alternate to put one token on one of the, initially empty, stacks until all tokens have been used. Then, the players play nim. Of course, because the solution for the game of nim is known, the goal of the player who starts nim play is a placement of the tokens so that the Nim-sum of the stack heights at the end of building is different from 0. This game is trivial if the total number of tokens is odd as the Nim-sum could never be 0, or if both the number of tokens and the number of stacks are even, since a simple mimicking strategy results in a Nim-sum of 0 after each of the second player’s moves. We present the solution for this game for some non-trivial cases and state a general conjecture.
Similar content being viewed by others
Notes
It is a well-tempered (fixed-length) scoring game as defined by Johnson (2014).
A colored version is available at http://arxiv.org/abs/1502.04068.
References
Bouton CL (1905) Nim, a game with a complete mathematical theory. Ann Math 3:35–39
Duchêne E, Renault G (2014) Vertex Nim played on graphs. Theor Comput Sci 516:20–27
Dufour M, Heubach S (2013) Circular Nim Games. Electron J Combin 20:#P22
Ehrenborg R, Steingrímsson E (1996) Playing Nim on a simplicial complex. Electron J Combin 3:#R9
Hegarty P, Larsson U (2006) Permutations of the natural numbers with prescribed difference multisets. Integers 6:Paper A3, 25pp
Johnson W (2014) The combinatorial game theory of well-tempered scoring games. Int J Game Theory 43(2):415–438
Larsson U (2009) 2-pile Nim with a restricted number of move-size imitations. INTEGERS 9(G4):671–690
Singmaster D (1981) Almost all games are first person games. Eureka 41:33–37
Stromquist W, Ullman D (1993) Sequential compounds of combinatorial games. Theor Comput Sci 119(2):311–321
Wythoff WA (1907) A modification of the game of Nim. Nieuw Arch Wisk 7:199–202
Acknowledgments
We thank the anonymous referees for their brilliant work.
Author information
Authors and Affiliations
Corresponding author
Additional information
Eric Duchêne: Supported by the ANR-14-CE25-0006 project of the French National Research Agency
Urban Larsson: Supported by the Killam Trust.
Rights and permissions
About this article
Cite this article
Duchêne, E., Dufour, M., Heubach, S. et al. Building Nim. Int J Game Theory 45, 859–873 (2016). https://doi.org/10.1007/s00182-015-0489-3
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00182-015-0489-3