An open API service indexing awesome lists of open source software.

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

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 |