word-game-ruiner
Version, currently trunk branch1 version
- trunk branchlatestNov 1, 2021
github.com/elebow/word-game-ruiner
No description declared in shard.yml.
Installation
# Add this to your shard.yml
dependencies:
word-game-ruiner:
github: elebow/word-game-ruiner
branch: trunktrunk is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
1.2.1- License
- MIT
- Author
- Eddie Lebow
- Target
word-game-ruinerfrom src/word-game-ruiner.cr
Dependencies
This version declares no dependencies.
README
word-game-ruiner
Takes the fun out of the word game.
Word game?
A cooperative game wherein players create chains of words. Each word in the chain must have an edit distance of exactly 1 from the previous word, and words may not be repeated.
Usage
First, create a next-words file from a wordlist. Ideally, the input wordlist will be the set of legal words for your game.
word-game-ruiner generate -w /usr/share/dict/words -o nexts.json
Find all legal next words from a given game state:
word-game-ruiner next -n nexts.json -g fun,fan,fin,fine
Find legal word with the greatest number of following words:
word-game-ruiner next --maximize -n nexts.json -g fun,fan,fin,fine
Find legal words, if any, that have no legal following words:
word-game-ruiner next --terminate -n nexts.json -g fun,fan,fin,fine
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
trunk- Seen
- Nov 1, 2021
- Crystal
1.2.1- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/elebow/word-game-ruiner
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 14, 2026
- Synced
- Aug 14, 2026
- Versions
- 1