# NAME Games::Literati - For word games like Literati (or Scrabble, or Words With Friends), find the best-scoring solution(s) for a board and hand of tiles. # SYNOPSIS use Games::Literati qw/:allGames/; literati(); wordswithfriends(); scrabble(); superscrabble(); Example Windows-based one-liner: perl -MGames::Literati=literati -e "$Games::Literati::WordList = './mydict.txt'; literati();" Example linux-based one-liner: perl -MGames::Literati=literati -e "$Games::Literati::WordList = '/usr/dict/words'; literati();" # DESCRIPTION **Games::Literati** helps you find out _all_ solutions for a given board and tiles. It can be used to play [Scrabble](https://en.wikipedia.org/wiki/Scrabble) (the original 15x15 grid), [Super Scrabble](https://en.wikipedia.org/wiki/Super_Scrabble) (the official 21x21 extended grid), [Literati](http://internetgames.about.com/library/weekly/aa120802a.htm) (an old Yahoo! Games 15x15 grid, from which **Games::Literati** derives its name), and [Words With Friends](https://www.zynga.com/games/words-friends) (a newer 15x15 grid). By overriding or extending the package, one could implement other similar letter-tile grids, with customizable bonus placements. To use this module to play the games, a one-liner such as the following can be used: perl -MGames::Literati=literati -e "literati();" (This will only work if \``./wordlist`' is in the current directory. Otherwise, see ["PUBLIC VARIABLES"](#public-variables), below.) Enter the data prompted then the best 10 solutions will be displayed. # AUTHOR Chicheng Zhang `` wrote the original code. Peter C. Jones `` is the current maintainer, and has added various features and made bug fixes.
travis build status Coverage Status
# LICENSE AND COPYRIGHT Copyright (c) 2003, Chicheng Zhang. Copyright (C) 2016,2019,2020 by Peter C. Jones This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.