Seems interesting, I'll try my luck! We could show results at the Tel Aviv Perl Mongers meeting (*cough* taking place this Wednesday, see http://telaviv.pm.org *cough*).
On Mon, Jan 24, 2011 at 12:19 AM, ynon perek <[email protected]> wrote: > Hi Everyone, > > Last week I tried a performance workshop in one of my perl courses, and > everyone had a great time - so I'm posting the same challenge here hoping to > get the same effect. > > The game is a small mastermind I wrote in perl, with an automatic AI solver > that plays against himself and solves the game within around 8 guesses. > You need to improve the performance of the BPSolver class without changing > any line of code from the game .pl file. > > Here are the rules of the game (from wikipedia): > http://en.wikipedia.org/wiki/Mastermind_%28board_game%29 > The game .pl file: http://www.ynonperek.com/uploads/bp2.pl > The AI solver class: http://www.ynonperek.com/uploads/BPSolver.pm > > I got around 70% improvements. Of course, I'd love to hear what you did to > improve and how well you got. Will post my solution next week. > > Have a great one, > Ynon > > > _______________________________________________ > Perl mailing list > [email protected] > http://mail.perl.org.il/mailman/listinfo/perl >
_______________________________________________ Perl mailing list [email protected] http://mail.perl.org.il/mailman/listinfo/perl
