adds (untested) path detection for all mines. It should work (I hope)

The path detection for the normal mine has been mostly tested and
works, but the path detection for the other mines has not been. Cross
your fingers.