/A-star-for-eight-puzzle

Use A star algorithm to solve eight-puzzle problem

Primary LanguagePython

Use A star algorithm to solve eight-puzzle problem.

Eight-puzzle problem: It is played on a 3-by-3 grid with 8 square blocks labeled 1 through 8 and a blank square. Your goal is to rearrange the blocks so that they are in order. You are permitted to slide blocks horizontally or vertically into the blank square.