A dog playing in the waves with a ball .