sed -E -f solver.sed input where input is a file containing the maze.
For best results, resize your terminal to match the height of the maze. To disable animations, delete the lines containing p.
The solver assumes the following:
- The maze only contains the characters
# \nSE - Every line has the same number of characters
- There is only one start (
S) and end (E)