/8-puzzle

8 puzzle solver using BFS, DFS and A star

Primary LanguagePython

8-puzzle

8 puzzle solver using BFS, DFS and A star

Usage

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

Output will be saved to output.txt