refactoring of the open-source implementation of evil hangman, available at https://github.com/killmark/Evil-Hangman-Game