Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Perl Modules

    Algorithm::MasterMind 0.4.5

    Download button

    No screenshots available
    Downloads: 95  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    J. J. Merelo-Guervós | More programs
    Perl Artistic License / FREE
    September 22nd, 2012, 21:15 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Algorithm::MasterMind description

    Framework for algorithms that solve the MasterMind game

    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 found



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    MasterMind game | Perl module | Perl | MasterMind | algorithms

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM