mm-eda.cgi - CGI for playing an Mastermind using an Estimation of Distribution Algorithms
This script uses Algorithm::Mastermind::EDA for playing a basic Mastermind game, with 6 colors and 4 pegs. When called without parameters it shows a form for introducing the secret combination, if called with parameter
code it will call the algorithm and produce the solution. It usually takes less than a second, but your mileage may vary depending on the server and Perl version.
Not really intended to be called as a module, but there are a few functions you could use
Prints combination and response in HTML
Runs the algorithm for $code
Shows the form page in absence of code.
Actually prints the form part in HTML
J. J. Merelo,
jj (at) merelo.net
This file is released under the GPL. See the LICENSE file included in this distribution, or go to http://www.fsf.org/licenses/gpl.txt CVS Info: $Date: 2012/07/15 07:45:23 $ $Header: /cvsroot/opeal/Algorithm_Mastermind/app/mm-eda.cgi,v 1.2 2012/07/15 07:45:23 jmerelo Exp $ $Author: jmerelo $ $Revision: 1.2 $