Walks a maze using A* and prints out solved path using alphabet letters
Python 3
run in your terminal:
python3 maze.py
Paste any legitimate puzzle, such as this:
###_#########
#___________#
#_##_______##
#_##________#
#_###########
#_###########
Press Ctrl+D
Save your maze in a text file. Cat your text file and pipe it to the script
cat maze.txt | python3 maze.py
If the script is able to find a solution, it will print it out, as follows:
###a#########
#dcb________#
#e##_______##
#f##________#
#g###########
#h###########
Run python3 -m unittest maze_test.py