Skip to content

swifthfg/puzzlesolver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

puzzlesolver

An artificial intelligence that solves the sliding block puzzle using A*-search Algorithm. It takes the board's initial position and the final position. From a certain state it moves blocks one unit at a time, namely right, left, up or down, to the empty spaces in certain combinations to get a certain block out of the grid, i.e the final state.

In this project, Manhattan distance and direct Euclidean distance heuristics are used. Those heuristic can be set while giving input to the program.

Here is the example game play using graphical interface:

alt text

Releases

No releases published

Packages

No packages published

Languages