Game::WordBrain::Solution - Representation of Potential WordBrain Solution
my @words = ( Game::WordBrain::Word->new( ... ), Game::WordBrain::Word->new( ... ), ... ); my $solution = Game::WordBrain::Solution->new({ words => \@words, });
For any Game::WordBrain there are multiple possible solutions. A solution is defined as an ordered collection of words ( ArrayRef of Game::WordBrain::Word ).
NOTE Each of these solutions is just a potential solution and may not be *THE* solution that WordBrain is looking for. The only way to know for sure is to try the solution.
ArrayRef of Game::WordBrain::Words
Given an ArrayRef of Game::WordBrain::Words, returns a Game::WordBrain::Solution.
To install Game::WordBrain, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Game::WordBrain
CPAN shell
perl -MCPAN -e shell install Game::WordBrain
For more information on module installation, please visit the detailed CPAN module installation guide.