Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

8-puzzle-solver

8-puzzle solver using Breadth First Search (BFS)

Usage

python 8puzzle.py 246705183

The numbers is your board representation from top to bottom and from left to right.

This command will return a list

['D', 'L', 'U', 'U', 'R', 'D', 'D', 'L', 'U', 'R', 'R', 'U', 'L', 'D', 'D', 'R', 'U', 'U', 'L', 'L']

Movements

U

Alt text

D

Alt text

L

Alt text

R

Alt text

About

8-puzzle solver using Breadth First Search (BFS)

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages