I modified slightly for my need. I maintained a list of guesses and auto-fill next time if appeared. So, I don't have to re-write them again and again. We certainly can make some sort of AI game out of this. I also tweak the word generation, so it can give me interesting personalized progressive words, based upon my choice.