pull some logic out of game.before_save into its own method