ai for a word game called hangman.Needs a server talking to it