Be the first to rate this file! 48 downloads (last 30 days) File Size: 17.97 MB File ID: #25724

AI for a game called chomp

by abhilash harpale

 

03 Nov 2009 (Updated 04 Nov 2009)

Code covered by BSD License  

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

Download Now | Watch this File

File Information
Description

chomp:The player and the computer take turns selecting an existing element from a matrix.All the remaining elements above and on the right are removed.the one who is stuck with the bottom left is the loser.
challenge: Win a 3x5 game it 5 attempts.

MATLAB release MATLAB 7 (R14)
Zip File Content  
Other Files
2x7chomp.mat,
2x8chomp.mat,
2x9chomp.mat,
3x4chomp.mat,
3x5 chomp_solved.mat,
3x5chomp.mat,
create_sub_tree.asv,
create_sub_tree.m,
create_tree.asv,
create_tree.m,
flip.asv,
flip.m,
license.txt,
next.asv,
next.m,
play.asv,
play.m,
solve_tree.asv,
solve_tree.m
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
04 Nov 2009

open create_tree.m for instructions.

04 Nov 2009

better description of rules.

Tag Activity for this File
Tag Applied By Date/Time
game abhilash harpale 03 Nov 2009 12:32:13
chomp abhilash harpale 04 Nov 2009 09:14:44
puzzle abhilash harpale 04 Nov 2009 09:14:44
minimax abhilash harpale 04 Nov 2009 23:38:14
algorithm abhilash harpale 05 Nov 2009 10:19:43
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com