Press the flag to generate a 50 by 35 cells maze. Press S to show the solution. If you want to use this you might need to figure out how to read the data to display the maze, or you can ask me anytime. This is a very slightly modified version of Wilson's algorithm, visualize it here: https://www.youtube.com/watch?v=Hy_GaNRMUuI Update 04/12/2024 : Added indications for the entry and the exit of the maze.
So this is Wilson's algorithm, except the two points of the first path aren't random (they are bottom-left and top-right), that way you don't need another algorithm to get the solution. It's not the most efficient maze generation algorithm, but it is unbiased and I like it. It's also less used and known than the recursive backtracking algorithm.