插件名称:Words 2.0.1 | 插件官网:访问官网 | 版权协议:Red pine1.1 | 解压密码:通用密码 | Words 2.0.1 单词游戏算法库
Words 2.0.1
Words 2.0.1
Words 2.0.1
Words 2.0.1
Requires Unity 5.6.0 or higher.
Words is a library of word game algorithms which comes with 4 game examples.
All of the algorithms work on configurable dictionaries and customizable alphabets.
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.]
Words includes Grids Pro (DLL only), which makes it easier to make games on grids. You can also use Words with Grids Basic and Grids Pro to make games on hex grids (and more). Words includes algorithms to:
? arrange a list of letters in a 2D grid, and fill the remainder of the grid from a generator
? find all words in a 2D grid
Words includes letter generator algorithms to generate letters at language dependent frequencies. It is easy to build your own generators to implement the rules for your game and it supports characters with more than one letter such as Qu.
Words can search dictionaries efficiently to find words, word patterns, anagrams, common subsequences and more.
Words comes with tools to pre-process text dictionaries, and allows you to hook in your own code.
|
|