Competition lures dogs through course