NAME

Game::WordBrain::WordToFind - Representation of a WordBrain Word To Find

SYNOPSIS

my $word_to_find = Game::WordBrain::WordToFind->new({
    num_letters => 5
});

DESCRIPTION

In WordBrain, all we are given is the length ( and number of ) unknown words. Game::WordBrain::WordToFind represents a single unknown word, containing only it's length.

ATTRIBUTES

num_letters

The length of the word to find.

METHODS

new

my $word_to_find = Game::WordBrain::WordToFind->new({
    num_letters => 5
});

Given the length of the unknown Game::WordBrain::Word, returns an instance of Game::WordBrain::WordToFind.