15puzzle
15puzzle is a sliding puzzle consisting of fifteen numbered tiles on a 4x4 grid with one empty space. A move consists of sliding a tile that is adjacent to the empty space into the space. The standard goal state has the tiles arranged in increasing order by row from top left to bottom right, with the empty space in the bottom-right corner.
The puzzle was introduced in the late 19th century and became a worldwide fad in the 1870s
Not all configurations of the 15 puzzle are solvable. A position is solvable if the parity of
Solving the puzzle typically uses heuristic search. Algorithms such as A* with Manhattan distance or other
Variants include the 8-puzzle (3x3) and larger NxN sliding puzzles, which share the same rules and solvability