Adds hangman game functionalities