Words: A Unity library for word game algorithms
Hi Everyone,
From today our new Unity package Words is available for sale in the Unity Asset store. It is a library with lots of classes and algorithms that we think will be useful for making word games. (We looked at almost 300 word games, and already built four ourselves). We were lucky enough to work with @Chippit who did the implementation.
If you want to try it out (for free) please send me an email herman@gamelogic.co.za. As always, we really appreciate early user feedback, despite our research and thinking we usually miss a few things, not to mention bugs!
Although we have the basic functionality you'd expect in such a library (loading dictionaries, fast lookups), it also has our unique twist that I don't think game makers have seen before (grid-word algorithms, sophisticated word and letter generators for procedural puzzle making).
To give you an idea of what the library can do, here are some of its features:
Words includes string algorithms that can:
- calculate distance metrics between words (Levenstein distance, Hamming distance)
- shuffle words to ensure a certain minimum distance between the original and shuffled version
- find all sub words in a word [sink > sin, in, ink]
- find all words that can be made from a subset of a given set of letters: [abct -> bat, cat, tab, etc.]
arrange a list of letters in a 2D grid and finding words in a grid.
Words includes letter generator algorithms to generate letters at language dependent frequencies. It is also easy to build your own generators to implement the rules for your game. Words also supports characters with more than one letter such as Qu.
Words can search dictionaries efficiently to find words, word patterns, and anagrams.
Here is the documentation:
http://gamelogic.co.za/words/documentation-and-tutorials/
Screen_ 13.png
1448 x 724 - 231K
screen_7.png
1448 x 724 - 116K
screen_8.png
1448 x 724 - 47K
screen_10.png
1448 x 724 - 143K
Screen_12.png
1448 x 724 - 207K
words_art.PNG
940 x 434 - 157K
Comments