Words

Words is a library for building word games. Supports custom alphabets, quick word and pattern lookup. Includes many word algorithms, and tools for converting text files to runtime dictionaries.

  • Provides support for custom alphabets, defined from arbitrary unicode characters, or combinations of characters such as “Qu”. Default support for English. 
  • Uses a trie-data structure for quick lookup of words, prefixes, and patterns.
  • Provides letter generators that use letter frequencies so that generated letter sets are suitable for the language, making word games that use randomness more fun. 
  • Provides word generators that can be used for procedural generating word game puzzles.
  • Provides word algorithms: find all sub words, find set of words that can be made from given letters, find the largest common substring, find the largest overlap word, calculate Hamming or Levenshtein distance, shuffle, and mutate. 
  • Provides additional algorithms for grid games if you are also using Gamelogic Grids: fill grids with words, fill grids with letters, check for word in direction.
  • Provides tools to preprocess text files into dictionaries that can be used at runtime.
Scroll to Top