Refactoring game end messaging