Build the classic 15-puzzle sliding tile game with image support (upload your own image), move counter, auto-solve with A* algorithm, and smooth tile sliding animations.
puzzleslideralgorithmanimation
Objectives
Create a sliding puzzle with numbered tiles
Support custom image upload split into tiles
Track moves and display a move counter
Implement auto-solve using A* search algorithm
Add smooth CSS transitions for tile movement
Hints
Only tiles adjacent to the empty space can move
Use Manhattan distance as the A* heuristic
Generate only solvable puzzles (check inversion count)