Algorithm::MasterMindFramework for algorithms that solve the MasterMind game | |
Download |
Algorithm::MasterMind Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- J. J. Merelo-Guervós
- Publisher web site:
- http://search.cpan.org/~jmerelo/
Algorithm::MasterMind Tags
Algorithm::MasterMind Description
Algorithm::MasterMind is a Perl module that includes common functions used in Mastermind solvers; it should not be used directly, but from derived classes. See examples in Algorithm::MasterMind::Random, for instance.SYNOPSIS use Algorithm::MasterMind; use Algorithm::MasterMind::Solver; # Change "solver" to your own. my $solver = new Algorithm::MasterMind::Solver $options; my $first_string = $solver->issue_first(); $solver->feedback( check_combination( $secret_code, $first_string) ); my $played_string = $solver->issue_next; $solver->feedback( check_combination( $secret_code, $played_string) ); #And so on until solution is foundProduct's homepage
Algorithm::MasterMind Related Software