Some refactoring in HangmanGame class