Hangman AI fixed