Re-factoring of save_game() for greater readability.