Skip to content

Implementation of A* search algorithms and space generation

Notifications You must be signed in to change notification settings

mikotohhh/8-tile-Puzzle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

8-tile-Puzzle

You solve the puzzle by moving the tiles around. For each step, you can only move one (not more!) of the neighbor tiles (left, right, top, bottom but not diagonally) into an empty grid. And all tiles must stay in the 3x3 grid (so no wrap around allowed). An example is shown in the picture below. Suppose we start from the following configuration:

Screen Shot 2022-10-15 at 21 59 17

That is, in the above example, we would either move 3 or 6 down or move 7 to the right. Given these rules for the puzzle, we will generate a state space and solve this puzzle using the A* search algorithm.

About

Implementation of A* search algorithms and space generation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages