Skip to main content
Home
plus.maths.org

Secondary menu

  • My list
  • About Plus
  • Sponsors
  • Subscribe
  • Contact Us
  • Log in
  • Main navigation

  • Home
  • Articles
  • Collections
  • Podcasts
  • Maths in a minute
  • Puzzles
  • Videos
  • Topics and tags
  • For

    • cat icon
      Curiosity
    • newspaper icon
      Media
    • graduation icon
      Education
    • briefcase icon
      Policy

      Popular topics and tags

      Shapes

      • Geometry
      • Vectors and matrices
      • Topology
      • Networks and graph theory
      • Fractals

      Numbers

      • Number theory
      • Arithmetic
      • Prime numbers
      • Fermat's last theorem
      • Cryptography

      Computing and information

      • Quantum computing
      • Complexity
      • Information theory
      • Artificial intelligence and machine learning
      • Algorithm

      Data and probability

      • Statistics
      • Probability and uncertainty
      • Randomness

      Abstract structures

      • Symmetry
      • Algebra and group theory
      • Vectors and matrices

      Physics

      • Fluid dynamics
      • Quantum physics
      • General relativity, gravity and black holes
      • Entropy and thermodynamics
      • String theory and quantum gravity

      Arts, humanities and sport

      • History and philosophy of mathematics
      • Art and Music
      • Language
      • Sport

      Logic, proof and strategy

      • Logic
      • Proof
      • Game theory

      Calculus and analysis

      • Differential equations
      • Calculus

      Towards applications

      • Mathematical modelling
      • Dynamical systems and Chaos

      Applications

      • Medicine and health
      • Epidemiology
      • Biology
      • Economics and finance
      • Engineering and architecture
      • Weather forecasting
      • Climate change

      Understanding of mathematics

      • Public understanding of mathematics
      • Education

      Get your maths quickly

      • Maths in a minute

      Main menu

    • Home
    • Articles
    • Collections
    • Podcasts
    • Maths in a minute
    • Puzzles
    • Videos
    • Topics and tags
    • Audiences

      • cat icon
        Curiosity
      • newspaper icon
        Media
      • graduation icon
        Education
      • briefcase icon
        Policy

      Secondary menu

    • My list
    • About Plus
    • Sponsors
    • Subscribe
    • Contact Us
    • Log in
    • Mathematical mysteries: Chomp

      Helen Joyce
      1 March, 2001
      8 comments
      March 2001

      Chomp is a simple two-dimensional game, played as follows.

      Cookies are set out on a rectangular grid. The bottom left cookie is poisoned.

      Two players take it in turn to "chomp" - that is, to eat one of the remaining cookies, plus all the cookies above and to the right of that cookie.

      The loser is the player who has to eat the poisoned cookie.

      We can ask if either player has a winning strategy, that is, can one player, before starting play, be sure of winning?

      The answer to this question is yes. One of the players is sure to have a winning strategy. This is easy to see, because the game must finish in finitely many moves, and can't be drawn. In fact, the person who plays first can be certain of winning, if they make the right moves. To see this, suppose the first player (Player A) makes the first move by chomping just the top right-hand cookie. Then either this is the first move of a winning strategy for Player A, or there is a reply which is the first move of a winning strategy for Player B. If the latter is the case, then Player A could have opened with that very move and been guaranteed a win.

      So what is the winning strategy for Player A? Well, that is the mystery - nobody knows! The proof that there is a winning strategy for the first player was very simple - but didn't describe the strategy. No one has ever been able to do that. Maybe you can!

      There are some simple cases where a winning strategy can be described - Square Chomp and Thin Chomp. Square Chomp is Chomp played on a square grid, and Thin Chomp is Chomp played on a grid that is only two squares wide. See if you can find the winning strategies in these special cases - or find out how if you get stuck.


      About the author

      Helen Joyce is an assistant editor of Plus.

      Thanks to John Webb of the University of Cape Town in South Africa for telling me about Chomp.

      • Log in or register to post comments

      Comments

      Anonymous

      13 September 2013

      Permalink

      "One of the players is sure to have a winning strategy. This is easy to see, because the game must finish in finitely many moves, and can't be drawn."

      Is that "easy to see"?

      It implies a theorum: "If a game must finish in finitely many moves, and can't be drawn, then there must be a winning strategy for one player."

      No doubt it's "easy to see" once explained, but it's far from obvious to ne... it would be nice to have an explanation, or proof....

      • Log in or register to post comments

      Anonymous

      29 October 2013

      In reply to It's obvious.... or is it? by Anonymous

      Permalink

      Label a position a winning position if there is at least one move to a losing position, a losing position as one with no moves to non-winning positions, and a drawing position as one where there is no move to a losing solution, but there is a move to a drawing position. The final position(s) are unknown, but they are not . The first player has a winning strategy on a position when it is a winning position, and the second player has a winning strategy if it is a losing position (this should at least be obvious). Therefore, the only time when neither player has a winning strategy is in a drawing position.

      Consider such a drawing position. By definition there is a move to another drawing position. However, that creates an infinite sequence of moves, which contradicts the original assumption that the game is finite. Therefore there are no drawing positions, and every finite game that cannot end in a draw has a winning strategy for one of the players.

      Note: This argument doesn't work for infinite games. There are some (highly interesting) infinite games that cannot end in a draw, but neither player has a winning strategy.

      • Log in or register to post comments

      Alkis

      4 August 2016

      Permalink

      Nice presentation. Indeed it seems that there is no strategy ... I have tried a lot to find one, but I gave up. I have tried with chomps of max size 3x3 (squares or rectangles) and I could always win. Yet, I still could not formulate a strategy. However, I suppose there is one, because playing Philip Brocoum's Munch 5x6, an excellent version of Chomp game, the computer *always wins* if the human plays (always first) with no winning strategy. (How can one have a strategy there cannot be any?) However, the computer/Brocoum seems to have some kind strategy! Unfortunately, I could not find Brocoum's email anywhere. Maybe you can contact him? He might have some interesting data to share ...

      • Log in or register to post comments

      Andy Deighton

      10 April 2017

      In reply to Mathematical mysteries: Chomp by Alkis

      Permalink

      There has to be a winning strategy for the first person to move. It might not be possible to write the strategy down as a simple to follow rule-of-thumb. In terms of game theory it will always be possible to compute a tree of all outcomes from all moves to select a winning strategy, for a massive initial grid, this calculation might eventually become practically impossible. The article says that no one has yet found a 'strategy' - but playing a move that leads to wain is always a strategy.

      • Log in or register to post comments

      Higming

      16 January 2017

      Permalink

      This is the way to win it

      First take the candy at (3,2) and then it depends on the opponent's next move.

      If he picks one from the top, take (1,5) and then he's probably gonna take (6,1).
      Take (3,2). Then you win no matter what. If he takes (5,1) take (1,4) if he takes (2,2), take (4,1) I think you'll know how to go from there.

      If he takes (5,1) take (1,4), then he is going to take (4,1) so take 2,2 after that. Then you can continue.

      If he takes 6,1 then take 2,2 and then copy what he does and you'll win.

      If he takes 4,1 then take 1,3 and if he takes 3,1 take 2,2 and vice versa.

      So there you have it!

      • Log in or register to post comments

      vab10266

      6 February 2017

      In reply to How to Win Chomp by Higming

      Permalink

      Two questions.

      Which corner is (0,0)?

      What size is the grid you are playing on?

      • Log in or register to post comments

      Andy Deighton

      10 April 2017

      In reply to Two questions. by vab10266

      Permalink

      first to move loses on the 1x1 grid - on any other sized grid, the first to move has won - for example with n x 1 the first to move can take n - 1 squares and win. With a grid a million by a trillion, the first to move also has a winning strategy, but I've no idea what it is.

      • Log in or register to post comments

      David

      3 May 2017

      Permalink

      I made a 2 player game of Chomp for the iPhone and iPad. Im still currently working on the single palyer mode but im still stuck on my algorithm. If you want to check out what I got the link is https://itunes.apple.com/us/app/choco-chomp/id1213722025?mt=8. It also includes an iMessage extention which is what im most proud of.

      • Log in or register to post comments

      Read more about...

      strategy
      Mathematical mysteries
      University of Cambridge logo

      Plus Magazine is part of the family of activities in the Millennium Mathematics Project.
      Copyright © 1997 - 2025. University of Cambridge. All rights reserved.

      Terms