https://github.com/pryrt/games-literati
Finds best solutions for the current state of word games like Literati, Scrabble, and Words With Friends
https://github.com/pryrt/games-literati
Last synced: 12 days ago
JSON representation
Finds best solutions for the current state of word games like Literati, Scrabble, and Words With Friends
- Host: GitHub
- URL: https://github.com/pryrt/games-literati
- Owner: pryrt
- License: other
- Created: 2016-02-26T14:57:10.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2021-11-16T21:38:10.000Z (over 4 years ago)
- Last Synced: 2025-01-16T21:51:47.352Z (over 1 year ago)
- Language: Perl
- Homepage: http://metacpan.org/pod/Games::Literati
- Size: 254 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES
- License: LICENSE
Awesome Lists containing this project
README
# 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.
# 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.
