Module Game theory

Game theory

**Rarely used in official contests.** This theorem is really useful to solve Nim stone-picking-game problems with constraints.

Resources

- [CP Algorithms: Sprague-Grundy theorem. Nim](https://cp-algorithms.com/game_theory/sprague-grundy-nim.html)

Problems

Just a Nim game 15 / 16 1200
Just a Nim game? 6 / 13 1400