[Solved] Generating a perfect maze in C

I think the algorithms you linked will work if you expand each cell into 4 cells, and use the top, left and top left as the walls if they exist. Walls below the cell will be handle as a wall above the cell below, if that makes sense? solved Generating a perfect maze in C