Source: wikibot/grundy-s-game

= Grundy's game
{wiki=Grundy's_game}

Grundy's game, also known as Nim or Nim-like games, is a classic in combinatorial game theory that involves heaps or piles of objects. The game's general setup typically includes several piles, each containing a certain number of objects (like stones). Players take turns removing a certain number of objects from a single pile. The rules can vary, but usually, a player can remove any number of objects from one pile, at least one.