MATLAB Contest - Mastermind

All the files needed to develop and score an entry for the fourth MATLAB Programming Contest.
Updated 1 Sep 2016

View License

The fourth MATLAB® Programming Contest, Mastermind®, ran from September 17-21, 2001.
The challenge was to write an algorithm to solve a variation of the classic Mastermind puzzle. Each entry did its best to determine unknown sequences of colored pegs.

This submission includes all the files needed to develop and score an entry, including the test suite we kept secret during the contest.

For more information, refer to

Nabeel Azar, Matthew Simoneau, and Ned Gulley were the biggest contributors to this code.

Cite As

The MATLAB Contest Team (2024). MATLAB Contest - Mastermind (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12.1
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Historical Contests in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Updated license

Fixing copyright statements.

Fixed copyright owner.