Games::GuessWordGames::GuessWord is a guess the letters in a word (ie Hangman). | |
Download |
Games::GuessWord Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Leon Brocard
- Publisher web site:
- http://search.cpan.org/~lbrocard/
Games::GuessWord Tags
Games::GuessWord Description
Games::GuessWord is a guess the letters in a word (ie Hangman). Games::GuessWord is a guess the letters in a word (ie Hangman).SYNOPSIS use Games::GuessWord; my $g = Games::GuessWord->new(file => "/path/to/wordlist"); print "Score: " . $g->score . "n"; print "Chances: " . $g->chances . "n"; print "Answer: " . $g->answer . "n"; my @guesses = $g->guesses; $g->guess("t"); # ... if ($g->won) { print "You won!n"; $g->new_word; }This module is a simple wrapper around a word guessing game. You have to guess the word by guessing letters in the word, and is otherwise known as Hangman. Requirements: · Perl
Games::GuessWord Related Software