/8-puzzle

8 puzzle solver using BFS, DFS and A-star algorithm

Primary LanguagePython

8-puzzle

8 puzzle solver using BFS, DFS and A-star algorithm

Try one of these

$ python solver.py bfs 1,2,5,3,4,0,6,7,8
$ python solver.py dfs 1,2,5,3,4,0,6,7,8
$ python solver.py ast 1,2,5,3,4,0,6,7,8

Solution and details will be saved to output.txt.