Chomp More
   HOME

TheInfoList



OR:

Chomp is a two-player
strategy game A strategy game or strategic game is a game in which the players' uncoerced, and often autonomous, decision-making skills have a high significance in determining the outcome. Almost all strategy games require internal decision tree-style think ...
played on a rectangular grid made up of smaller
square In geometry, a square is a regular polygon, regular quadrilateral. It has four straight sides of equal length and four equal angles. Squares are special cases of rectangles, which have four equal angles, and of rhombuses, which have four equal si ...
cells, which can be thought of as the blocks of a
chocolate bar A chocolate bar is a confection containing chocolate, which may also contain layerings or mixtures that include nut (fruit), nuts, fruit, caramel, nougat, and wafers. A flat, easily breakable, chocolate bar is also called a tablet. In some variet ...
. 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 this loses. The chocolate-bar formulation of Chomp is due to
David Gale David Gale (December 13, 1921 – March 7, 2008) was an American mathematician and economist. He was a professor emeritus at the University of California, Berkeley, affiliated with the departments of mathematics, economics, and industrial ...
, 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 In mathematics, especially order theory, a partial order on a Set (mathematics), set is an arrangement such that, for certain pairs of elements, one precedes the other. The word ''partial'' is used to indicate that not every pair of elements need ...
on which the game is played is a product of
total order In mathematics, a total order or linear order is a partial order in which any two elements are comparable. That is, a total order is a binary relation \leq on some set X, which satisfies the following for all a, b and c in X: # a \leq a ( re ...
s with the minimal element (poisonous block) removed.


Example game

Below shows the sequence of moves in a typical game starting with a 5 × 4 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 5 × 4 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 In mathematics, the binomial coefficients are the positive integers that occur as coefficients in the binomial theorem. Commonly, a binomial coefficient is indexed by a pair of integers and is written \tbinom. It is the coefficient of the t ...
\binom, which grows exponentially with ''m'' and ''n''.


Winning the game

Chomp belongs to the category of
impartial Impartiality (also called evenhandedness or fair-mindedness) is a principle of justice holding that decisions should be based on objective criteria, rather than on the basis of bias, prejudice, or preferring the benefit to one person over anothe ...
two-player
perfect information Perfect information is a concept in game theory and economics that describes a situation where all players in a game or all participants in a market have knowledge of all relevant information in the system. This is different than complete informat ...
games, making it also analyzable by
Nim Nim is a mathematical combinatorial game in which two players take turns removing (or "nimming") objects from distinct heaps or piles. On each turn, a player must remove at least one object, and may remove any number of objects provided they all ...
because of the
Sprague–Grundy theorem In combinatorial game theory, the Sprague–Grundy theorem states that every impartial game under the normal play convention is equivalent to a one-heap game of nim, or to an infinite generalization of nim. It can therefore be represented ...
. For any rectangular starting position, other than 1×1, the first player can win. This can be shown using a
strategy-stealing argument In combinatorial game theory, the strategy-stealing argument is a general argument that shows, for many two-player games, that the second player cannot have a guaranteed winning strategy. The strategy-stealing argument applies to any symmetric game ...
: 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 2 × ''n'' (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-
dimension In physics and mathematics, the dimension of a mathematical space (or object) is informally defined as the minimum number of coordinates needed to specify any point within it. Thus, a line has a dimension of one (1D) because only one coo ...
al Chomp has an initial chocolate bar of a
cuboid In geometry, a cuboid is a hexahedron with quadrilateral faces, meaning it is a polyhedron with six Face (geometry), faces; it has eight Vertex (geometry), vertices and twelve Edge (geometry), edges. A ''rectangular cuboid'' (sometimes also calle ...
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 In mathematics, the natural numbers are the numbers 0, 1, 2, 3, and so on, possibly excluding 0. Some start counting with 0, defining the natural numbers as the non-negative integers , while others start with 1, defining them as the positive in ...
is given, and players alternate choosing positive
divisor In mathematics, a divisor of an integer n, also called a factor of n, is an integer m that may be multiplied by some integer to produce n. In this case, one also says that n is a '' multiple'' of m. An integer n is divisible or evenly divisibl ...
s of the initial number, but may not choose 1 or a multiple of a previously chosen divisor. This game models ''n-''
dimension In physics and mathematics, the dimension of a mathematical space (or object) is informally defined as the minimum number of coordinates needed to specify any point within it. Thus, a line has a dimension of one (1D) because only one coo ...
al Chomp, where the initial natural number has ''n''
prime factor A prime number (or a prime) is a natural number greater than 1 that is not a product of two smaller natural numbers. A natural number greater than 1 that is not prime is called a composite number. For example, 5 is prime because the only ways ...
s and the
dimensions In physics and mathematics, the dimension of a mathematical space (or object) is informally defined as the minimum number of coordinates needed to specify any point within it. Thus, a line has a dimension of one (1D) because only one coordi ...
of the Chomp board are given by the exponents of the primes in its
prime factorization In mathematics, integer factorization is the decomposition of a positive integer into a product of integers. Every positive integer greater than 1 is either the product of two or more integer factors greater than 1, in which case it is a comp ...
. Ordinal Chomp is played on an infinite board with some of its dimensions
ordinal numbers In set theory, an ordinal number, or ordinal, is a generalization of ordinal numerals (first, second, th, etc.) aimed to extend enumeration to infinite sets. A finite set can be enumerated by successively labeling each element with the leas ...
: 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 offeredp. 482 in: Games of No Chance (R. J. Nowakowski, ed.), Cambridge University Press, 1998. for finding a winning first move. More generally, Chomp can be played on any
partially ordered set In mathematics, especially order theory, a partial order on a Set (mathematics), set is an arrangement such that, for certain pairs of elements, one precedes the other. The word ''partial'' is used to indicate that not every pair of elements need ...
with a
least element In mathematics, especially in order theory, the greatest element of a subset S of a partially ordered set (poset) is an element of S that is greater than every other element of S. The term least element is defined dually, that is, it is an ele ...
. 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 Misère (French language, French for "destitution"), misere, nullo, bettel, betl, or (German language, German for "begging, beggar"; equivalent terms in other languages include , and ) is a bidding, bid in various card games, and the player who ...
: 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 In the mathematics of combinatorial games, the sum or disjunctive sum of two games is a game in which the two games are played in parallel, with each player being allowed to move in just one of the games per turn. The sum game finishes when there ...
of Chomp games, where only the last final chocolate block loses.


See also

*
Nim Nim is a mathematical combinatorial game in which two players take turns removing (or "nimming") objects from distinct heaps or piles. On each turn, a player must remove at least one object, and may remove any number of objects provided they all ...
*
Hackenbush Hackenbush is a two-player game invented by mathematician John Horton Conway. It may be played on any configuration of line segments connected to one another by their endpoints and to a "ground" line. Other versions of the game use differently co ...


References

* * * * * * * {{cite journal, first1=In-Sung, last1=Cho, title=Winning strategies for the game of Chomp: A practical approach, journal=J. History Math., year=2018, volume=31, number=3, pages=151–166, doi=10.14477/jhm.2018.31.3.151


External links


More information about the gameA freeware version for windows
Abstract strategy games Mathematical games Combinatorial game theory Paper-and-pencil games