https://github.com/khtdr/word-blocks
script for generating words
https://github.com/khtdr/word-blocks
Last synced: over 1 year ago
JSON representation
script for generating words
- Host: GitHub
- URL: https://github.com/khtdr/word-blocks
- Owner: khtdr
- Created: 2015-08-18T21:08:04.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2022-07-29T01:41:39.000Z (about 4 years ago)
- Last Synced: 2025-02-16T09:18:43.458Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 677 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
README
#+title: Create words with blocks
* Check out and build
#+BEGIN_SRC
git https://github.com/khtdr/word-blocks.git
cd word-blocks
#+END_SRC
#+BEGIN_SRC
pnpm install
#+END_SRC
You can probably use `yarn` or `npm` as well.
* Usage
You have 7 blocks, and lots of letter stickers.
- Block 1 has the letters "wftbi", one on each side.
- Block 2 has "vnlog"
- Block etc...
Generate the words you can spell, this grabs the first 10 7-letter words.
#+BEGIN_SRC shell :exports both
node ./blocks.js wftbi vnlog hyedo cravs modeu skima tripes \
| grep '^.\{7\}$' | head -10
#+END_SRC
#+RESULTS:
| abdomen |
| abolish |
| aborted |
| abridge |
| abscond |
| absence |
| absolve |
| abusive |
| abysmal |
| acetone |