Skip to content
ccressentPublic

About

A solver for n-puzzle games, using state-space search with A*.

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npuzzle

A solver for the 8-puzzle game, using state-space search with A* and different heuristics (Manhattan distance or number of misplaced tiles), with no external dependencies.

Usage

python npuzzle.py

You can change the initial state and the desired goal state in npuzzle.py.

Testing

python -m unittest discover

About

A solver for n-puzzle games, using state-space search with A*.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages