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 17 / 18 1200
Just a Nim game? 7 / 15 1400