Skip to content

paragsiddique/eight_puzzle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

eight_puzzle

This is a solver for popular 8 puzzle

Run the following commands to solve a puzzle

from eight_puzzle_solver_script import eight_puzzle_solver
start_node = [0, 1, 3, 4, 2, 5, 7, 8, 6]
eight_puzzle_solver(start_node)

Jupyter notebook also contain the same solver script

Note: Goal node for this solver is always: goal_node = [1, 2, 3, 4, 5, 6, 7, 8, 0]

About

This is a solver for popular 8 puzzle

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published