On this page
Chomp needs a bar of chocolate, two players and one poisoned square. It is also a clean place to meet a proof that a winning strategy exists which never tells you what the strategy is.
What is the game of Chomp?
Chomp is played on a rectangular grid of squares, thought of as the blocks of a chocolate bar (Chomp on Wikipedia). On your turn you pick any remaining block and eat it together with every block below it and to its right. The top-left block is poisoned, and the player who has to eat it loses.
The chocolate-bar version is due to David Gale. Andries Brouwer's notes record that Frederik Schuh published an equivalent game of divisors in 1952, and that Martin Gardner, who described the game in his Scientific American column in 1973, invented the name Chomp (Brouwer, The game of Chomp). Gale's own account, A Curious Nim-Type Game, appeared in The American Mathematical Monthly in 1974 (Gale, 1974).
Why does the first player always win at Chomp?
On every rectangle except 1 × 1, the first player has a winning strategy (Chomp on Wikipedia). The proof is a strategy-stealing argument in four steps:
Chomp always ends and cannot be drawn, so one of the two players has a winning strategy.
Suppose it is the second player. The first player opens by eating only the bottom-right block, and the second player has a winning reply: eat some block X.
Every bite removes the bottom-right block anyway, because it sits below and to the right of every other block. So the board after bottom-right then X is exactly the board after X alone.
The first player could have opened with X and handed over that same losing board. That contradicts step 2, so the second player has no winning strategy, and by step 1 the first player does.
Steps 2 to 4 are a proof by contradiction; our proof by contradiction examples for √2, primes and log₂ 3 practise the same move on simpler claims.
Brouwer is blunt about it: "the argument is non-constructive: the winning move is unknown" (Brouwer). A computer can find winning moves on boards of reasonable size by checking every position, but for an m × n bar the number of positions is the binomial coefficient (m + n choose n), which grows exponentially (Chomp on Wikipedia). By that formula, a 10 × 10 bar already has 184,756 positions.
Chomp is an impartial game, like Nim (Chomp on Wikipedia), but Nim has a rule you can run by hand: see how to win at Nim with the XOR rule.
How do you win Chomp on a square board?
On an n × n board with n at least 2, Brouwer's recipe is to bite the block diagonally next to the poison, then "answer by symmetry" (Brouwer). That bite removes everything except the top row and the left column, leaving an L with two equal arms meeting at the poison.
Worked example on 5 × 5: your first bite leaves two arms of 4 blocks each. They shorten the top arm to 1 block; you shorten the left arm to 1. They eat one arm; you eat the other. Copying keeps the arms equal, so the lone poisoned block arrives on their turn.
How do you win Chomp on a 2 × n board?
Write a two-row position as (top, bottom), the blocks left in each row; the poison is at the left of the top row. Brouwer gives the losing positions for the player to move as (a + 1, a): the top row exactly one block longer than the bottom (Brouwer). So you open by eating the bottom-right block, and every later move restores that shape.
Worked example on 2 × 5, starting at (5, 5):
You eat the bottom-right block: (5, 4).
They cut the bottom row to 2: (5, 2). You cut the top row to 3: (3, 2).
They cut the top row to 2: (2, 2). You eat the last bottom block: (2, 1).
They eat the bottom block: (2, 0). You eat the second top block: (1, 0).
Only the poison is left, on their turn.
In both cases, Brouwer adds, the winning first move is unique.
Where else does strategy stealing work?
The strategy-stealing argument shows, for many two-player games, that the second player cannot have a guaranteed winning strategy (Strategy-stealing argument on Wikipedia). The same page says John Nash invented it in the 1940s to show that Hex is a first-player win, and that József Beck credits its first publication to Alfred Hales and Robert Jewett, in a 1963 paper on tic-tac-toe. In a game that can be drawn, such as tic-tac-toe, it shows only that the first player can at least draw.
To try it on a new game, check:
Both players start with the same moves available.
The game is finite.
An extra move never hurts the player who makes it (in Chomp, the wasted bite gets absorbed).
Draws: if none are possible, you get a first-player win; if they are, only a first-player draw.
If proof by contradiction is the step that keeps slipping, the Fermi Concept Library has every concept in physics, chemistry, biology, mathematics and computing, each with its own lesson. For practice, the Fermi Problem Library has worked problems with a step-by-step solver that explains the reasoning rather than printing an answer. Then play a 3 × 3 round with a friend using the square recipe.



