ArticleslgStudy

mathematics

Chomp

Chomp is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Chomp rather than just read about it. In short: Chomp is a two-player strategy game played on a rectangular grid made up of smaller square cells, which can be thought of as the blocks of a chocolate bar. The players take it in turns to choose one block and "eat it" (remove from the board), together with those that are below it and to its right.

Chomp — main illustration
Chomp — illustration

Key takeaways

  • Chomp belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Chomp to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Chomp from memory before moving on to harder problems.

Reference excerpt

Chomp is a two-player strategy game played on a rectangular grid made up of smaller square cells, which can be thought of as the blocks of a chocolate bar. The players take it in turns to choose one block and "eat it" (remove from the board), together with those that are below it and to its right. The top left block is "poisoned" and the player who eats it loses. The chocolate-bar formulation of Chomp is due to David Gale, but an equivalent game expressed in terms of choosing divisors of a fixed integer was published earlier by Frederik Schuh. Chomp is a special case of a poset game where the partially ordered set on which the game is played is a product of total orders with the minimal element (poisonous block) removed.

Example game Below shows the sequence of moves in a typical game starting with a 4 × 5 bar:

Player A eats two blocks from the bottom right corner; Player B eats three from the bottom row; Player A picks the block to the right of the poisoned block and eats eleven blocks; Player B eats three blocks from the remaining column, leaving only the poisoned block. Player A must eat the last block and so loses. Note that since it is provable that player A can win when starting from a 4 × 5 bar, at least one of A's moves is a mistake.

Positions of the game The intermediate positions in an m × n Chomp are integer-partitions (non-increasing sequences of positive integers) λ1 ≥ λ2 ≥···≥ λr, with λ1 ≤ n and r ≤ m. Their number is the binomial coefficient (m+nn), which grows exponentially with m and n.

Winning the game Chomp belongs to the category of impartial two-player perfect information games, making it also analyzable by Nim because of the Sprague–Grundy theorem. For any rectangular starting position, other than 1×1, the first player can win. This can be shown using a strategy-stealing argument: assume that the second player has a winning strategy against any initial first-player move. Suppose then, that the first player takes only the bottom right hand square. By our assumption, the second player has a response to this which will force victory. But if such a winning response exists, the first player could have played it as their first move and thus forced victory. The second player therefore cannot have a winning strategy. Computers can easily calculate winning moves for this game on two-dimensional boards of reasonable size. However, as the number of positions grows exponentially, this is infeasible for larger boards. For a square starting position (i.e., n × n for any n ≥ 2), the winning strategy can easily be given explicitly. The first player should present the second with an L shape of one row and one column only, of the same length, connected at the poisonous square. Then, whatever the second player does on one arm of the L, the first player replies with the same move on the second arm, always presenting the second player again with a symmetric L shape. Finally, this L will degenerate into the single poisonous square, and the second player would lose. Similarly, any n × 2 (for any n ≥ 2) is also trivial. The winning starting move is always the bottom right square. The board after this move can be thought of as two vertical chains of squares (ignoring the poisoned square), and to win, simply mimic player 2's moves on the other chain. Other paths to victory are often more complicated however.

Generalisations of Chomp Three-dimensional Chomp has an initial chocolate bar of a cuboid of blocks indexed as (i,j,k). A move is to take a block together with any block all of whose indices are greater or equal to the corresponding index of the chosen block. In the same way, Chomp can be generalised to any number of dimensions. Chomp is sometimes described numerically. An initial natural number is given, and players alternate choosing positive divisors of the initial number, but may not choose 1 or a multiple of a previously chosen divisor. This game models n-dimensional Chomp, where the initial natural number has n prime factors and the dimensions of the Chomp board are given by the exponents of the primes in its prime factorization. Ordinal Chomp is played on an infinite board with some of its dimensions ordinal numbers: for example a 2 × (ω + 4) bar. A move is to pick any block and remove all blocks with both indices greater than or equal the corresponding indices of the chosen block. The case of ω × ω × ω Chomp is a notable open problem; a $100 reward has been offered for finding a winning first move. More generally, Chomp can be played on any partially ordered set with a least element. A move is to remove any element along with all larger elements. A player loses by taking the least element. All varieties of Chomp can also be played without resorting to poison by using the misère play convention: The player who eats the final chocolate block is not poisoned, but simply loses by virtue of being the last player. This is identical to the ordinary rule when playing Chomp on its own, but differs when playing the disjunctive sum of Chomp games, where only the last final chocolate block loses.

See also Nim Hackenbush

References

Zeilberger, Doron (2004). "Chomp, recurrences and chaos(?)". J. Diff. Eq. Applic. 10 (13–15): 1281–1293. doi:10.1080/10236190410001652720. Brouwer, A. E.; Horvath, Gabor; Molna-Saska, Ildiko; Szabo, Csaba (2005). "On three-rowed Chomp". Integers. 5: #G07. Friedman, Eirc J. (2007). "Nonlinear dynamics in combinatorial games: renormalizing Chomp". Chaos. 17 (2) 023117. Bibcode:2007Chaos..17b3117F. doi:10.1063/1.2725717. PMID 17614671. Khandhawit, Tirasan; Ye, Lynnelle (2011). "Chomp on graphs and subsets". arXiv:1101.2718 [math.CO]. Soltys, Michael; Wilson, Craig (2011). "On the complexity of computing winning strategies for finite Poset games". Theory Comput. Syst. 48 (3): 680–692. doi:10.1007/s00224-010-9254-y. S2CID 2720334. Brouwer, A. E. (2017). "The game of chomp". Cho, In-Sung (2018). "Winning strategies for the game of Chomp: A practical approach". J. History Math. 31 (3): 151–166. doi:10.14477/jhm.2018.31.3.151.

External links More information about the game Play Chomp online All the winning bites for size up to 14

Illustrations

Chomp: A move in the game of Chomp, removing two blocks: a player has chosen a block to "eat", and must also eat the block below it. The top-left block is "poisoned" and whoever eats it loses the game.
A move in the game of Chomp, removing two blocks: a player has chosen a block to "eat", and must also eat the block below it. The top-left block is "poisoned" and whoever eats it loses the game.
Chomp illustration

Worked examples

Example 1 — a first encounter with Chomp

Start with the simplest possible case. Write down what Chomp claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Chomp before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Chomp ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Chomp

In research
Chomp appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Chomp in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Chomp is common in secondary-school and first-year university syllabi. It links to neighbouring topics Abstract strategy games, Combinatorial game theory, Mathematical games, so understanding it makes those chapters shorter.
In everyday life
Look for Chomp outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Chomp” →

How to study Chomp in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Chomp means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Chomp out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Chomp in simple terms?

Chomp is a two-player strategy game played on a rectangular grid made up of smaller square cells, which can be thought of as the blocks of a chocolate bar. The players take it in turns to choose one block and "eat it" (remove from the board), together with those that are below it and to its right.

Why does Chomp matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Chomp?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Chomp.

Tags

  • Abstract strategy games
  • Combinatorial game theory
  • Mathematical games
  • Paper-and-pencil games

Keep exploring