Skip to main content
Log in

Building Nim

  • Original Paper
  • Published:
International Journal of Game Theory Aims and scope Submit manuscript

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11

Similar content being viewed by others

Notes

  1. It is a well-tempered (fixed-length) scoring game as defined by Johnson (2014).

  2. 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

    Article  Google Scholar 

  • Duchêne E, Renault G (2014) Vertex Nim played on graphs. Theor Comput Sci 516:20–27

    Article  Google Scholar 

  • 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

    Google Scholar 

  • Johnson W (2014) The combinatorial game theory of well-tempered scoring games. Int J Game Theory 43(2):415–438

    Article  Google Scholar 

  • Larsson U (2009) 2-pile Nim with a restricted number of move-size imitations. INTEGERS 9(G4):671–690

    Google Scholar 

  • Singmaster D (1981) Almost all games are first person games. Eureka 41:33–37

    Google Scholar 

  • Stromquist W, Ullman D (1993) Sequential compounds of combinatorial games. Theor Comput Sci 119(2):311–321

    Article  Google Scholar 

  • Wythoff WA (1907) A modification of the game of Nim. Nieuw Arch Wisk 7:199–202

    Google Scholar 

Download references

Acknowledgments

We thank the anonymous referees for their brilliant work.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Eric Duchêne.

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

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

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

Download citation

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00182-015-0489-3

Keywords

Mathematics Subject Classification

Navigation