Games::Crossword::Puzzle 0.001

Оценок пока нет — будьте первым

Описание

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:

Информация о программе

  • Категория: Другое
  • ОС: Linux
  • Лицензия: Perl Artistic License
  • Скачиваний: 0
Скачать