The author's purpose for All Summer in a Day is to entertain the reader. Rising Action: William convince the whole class to lock Margot in the closet . When the sun Came out they all went outside to see and feel the sun except for Margot.