first draft of removing conditional logic from end_game?