A CLI to solve nytimes.com/puzzles/spelling-bee
- Clone spelling-bee repo in any directory
git clone git@github.com:eccentric-j/clap.git
cd
into spelling-bee- Run
npm install
Automatically solve puzzle and take a screenshot when the highest rank is achieved
npm start
List matching words
npx lumo -c src -m spelling-bee.words <charset>
Example:
clj lumo -c src -m spelling-bee.core "ohtcumn"
- Assumes first letter of
charset
is the required character. - Words list is a bit broader than the game typically allows.
- Dictionary word list comes from https://github.com/dwyl/english-words
- Promise macros inspired by https://github.com/athos/kitchen-async