There's really no way to give a straight solution to this puzzle, since the initial conditions are randomly generated.
This puzzle is very similar to the crypt puzzle. If you remember how you finished the crypt puzzle, you may want to apply your strategies from that puzzle to this one.