Find the low point of your yard. Place a laser level next to the house and point it out to the yard. Move it back and forth to find to spot where the yard moves downward from the laser level.
Dig a trench that is 12 inches wide and 12 inches deep running around the house and down towards the low spot in your yard.
Line the bottom of the trench with landscape fabric.
Cover the landscape fabric with 1 inch of 1 inch diameter rounded washed gravel.
Lay a 6 inch diameter perforated pipe on top of the stone.
Cover the perforated pipe with more washed gravel, so that the trench is filled to within 1 inch from the top with the stone.
Cover the trench with 1 inch of soil to cover the rock.
Place a layer of sod over the soil on the rock to cover the trench completely. Water the sod daily until it takes root.