MacOS command-line utility to suggest solutions to a Wordle puzzle.
whelper compares its dictionary of possible wordle solutions against a template supplied by the user. The template is a pattern of letters where a dot '.' represents any character. After finding possible solutions, whelper compares that list to a dictionary of past solutions, eliminating words that have already solved Worlde. As far as I know, the New York Times doesn't repeat solutions. See sample invocations below. The utility has several options for its use,
% whelper -h
or
whelper --help
describe the options and how to use them.
whelper is built with Xcode for MacOS. To build it,
- Clone the project
- Build it with the Xcode build command
- Open the Build Products folder in the Finder
- Copy 'Products/Release/whelper' to '~/bin/'
- Copy wordle-La.txt to '~/bin/'
- Create an alias in '.zshrc': "whelper='~/bin/whelper'"
% whelper .east
Found 4 matches.
beast
feast
least
yeast
% whelper .east --exclude bl
Found 2 matches.
feast
yeast
% whelper ..... -c 5 -e a
Found 1407 matches; printing first 5
beech
beefy
befit
beget
begin
- A MVC redesign with a Swift UI view.
- Keep of list of past solutions and eliminate them from the list returned.
Thanks to Mikey Ward, author of Swift Programming: The Big Nerd Ranch Guide. whelper is based on wordlasso from his book. Thanks to Garrett Sholtes who published a wordle dictionary. It is the basis for whelper's possible solutions dictionary. Thanks to the folks at RockPaperShotgun who daily update the list of past solutions.