A dog plays with a ball at the beach .