AI for a game called chomp
Version 1.3.0.0 (18 MB) by
Abhilash Harpale
this program uses the minimax algorithm for playing chomp.open the file create_tree for instrutions.
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 .
MATLAB Release Compatibility
Created with
R14
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
