AI for a game called chomp

this program uses the minimax algorithm for playing chomp.open the file create_tree for instrutions.

You are now following this Submission

Chomp:
Draw a nxm grid, Number the elements from the 1 to mn starting from the top left and going row wise. now You and the computer will take turns choosing numbers from 1 to mn. When a cell is selected, all the existing cells above AND on the right are removed, The player left with only the bottom left element losses.
http://en.wikipedia.org/wiki/Chomp

Cite As

Abhilash Harpale (2026). AI for a game called chomp (https://www.mathworks.com/matlabcentral/fileexchange/25724-ai-for-a-game-called-chomp), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Video games in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.3.0.0

Improved description

1.2.0.0

better description of rules.

1.1.0.0

open create_tree.m for instructions.

1.0.0.0