What is the best algorithm to generate a maze in a grid?
I have heard of Kruskal's algorithm and the recursive backtracker amongst other but both of these rely on walls.What would be the best algorithm to create amaze where one entire cell is a wall?
Modifying recursive backtracking or Prim's algorithm should be simple enough (code derived from Wikipedia)
Randomized Prim's algorithm