Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 794 Bytes

File metadata and controls

31 lines (19 loc) · 794 Bytes

Scrabble Helpers

Tools to help you cheat in Scrabble

Table of Contents

  1. Word List
  2. DAWG
  3. Finding Words by Prefix

Word List

This app uses the TWL06 word list from wordgamedictionary.com

DAWG

A directed acyclic word graph implemented in JavaScript. A DAWG was chosen over a Trie because a DAWG greatly reduces the number of nodes, and we do not need to store any extra information about the words on the nodes.

Finding Words by Prefix

You only need to compile to code once:

npm run compile

And then you can run the find-prefix script:

npm run find-prefix <prefix>