Code covered by the BSD License  

Highlights from
MATLAB Contest - Peg Solitaire

2.0

2.0 | 4 ratings Rate this file 2 Downloads (last 30 days) File Size: 401 KB File ID: #14937
image thumbnail

MATLAB Contest - Peg Solitaire

by The MATLAB Contest Team

 

09 May 2007 (Updated 06 Aug 2009)

All the files needed to develop and score an entry for the MATLABĀ® Programming Contest.

| Watch this File

File Information
Description

Starter kit for the 15th MATLAB Programming Contest, May 9-16, 2007.

For more information see the contest page:

http://www.mathworks.com/contest/jumping/rules.html

Acknowledgements

This file inspired Matlab Contest Gene Splicing.

MATLAB release MATLAB 7.4 (R2007a)
Tags for This File  
Everyone's Tags
contest, games, peg, programming, solitaire, starter kit
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (5)
06 Jun 2007 k j  
12 May 2007 xyz xyz

Backward compatibility is not considered.

10 May 2007 Helen Chen

Luke - We have updated the download file. Use solitaireGUIb.m for older versions of MATLAB. See newsreader thread at http://newsreader.mathworks.com/WebX?14@sQ0ibzv8aR1@.ef55232 for more information.

John - Thanks for pointing that out. We appreciate your feedback!

Good luck to everyone! :-)

Helen

09 May 2007 Luke Skywalker

The GUI doesn't run on R2006b:
??? Undefined function or method 'bsxfun' for input arguments of type 'function_handle'.

solver is confusing

09 May 2007 John Solar

I try and I try and I try. And you go and ruin it all by giving a bad example. I am trying to get our people to use better names for their for loop iterators and to not use reserved keywords. You went and broke both of those rules by using "i" in your grade.m

Shame on you. A simple apology and public flogging of the culprit will do. Or a home version of MATLAB.

Please, do not be a bad example again.

Updates
09 May 2007

Update runcontest.m so the non-GUI version will run on old versions of MATLAB. Tested on R14sp1 (MATLAB 7.0.1).

09 May 2007

Provide a version of the GUI that works with older MATLABs (tested on R14SP1). Fix a bug in the grading function.

09 May 2007

Fix grade.m (again).

09 May 2007

Fix grade.m one more time.

18 May 2007

Add actual test suite.

06 Aug 2009

Fixed copyright line.

Contact us