This idea is so cool, but when I enter a word, I can't sum up the logic of the position of each word. What method or technology does this game use to determine the position of each word?