Games::Crossword::Puzzle

Six letters for "reusable unit of code"
Download

Games::Crossword::Puzzle Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Ricardo Signes
  • Publisher web site:
  • http://search.cpan.org/~rjbs/

Games::Crossword::Puzzle Tags


Games::Crossword::Puzzle Description

Six letters for "reusable unit of code" Games::Crossword::Puzzle - six letters for "reusable unit of code".SYNOPSIS my $puzzle = Games::Crossword::Puzzle->from_file('nyt-sunday.puz'); for my $row ($puzzle->rows) { for my $cell (@$row) { die "Nope, not completed properly" if $cell->value and (not $cell->guess) || $cell->guess ne $cell->value; } }The .PUZ file format is used by many crossword programs and, more importantly, is offered by many newspapers. It servers as both a puzzle and a "saved game," storing the grid, the answers, the clues, and guesses.Games::Crossword::Puzzle reads .PUZ files and produces Games::Crossword::Puzzle objects.A puzzle is a rectangular grid of Games::Crossword::Puzzle::Cell objects. Requirements: · Perl


Games::Crossword::Puzzle Related Software