Skip to content

suvasish114/8-puzzle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

8 puzzle

8-puzzle problem visualization using artificial intelligence (A* search)

Visualization

            start
            1 2 3
            4 0 5
            7 8 6
              |
    - - - - - - - - - - - - -
    |       |       |       |
  1 2 3   1 2 3   1 2 3   1 0 3
  0 4 5   4 5 0   4 8 5   4 2 5
  7 8 6   7 8 6   7 0 6   7 8 6
            |
    - - - - - - - - -
    |       |       |    
  1 2 3   1 2 3   1 2 0
  4 5 6   4 0 5   4 5 3
  7 8 0   7 8 6   7 8 6
  goal

Output