This is a fun little project I had in mind and finally decided to code up a website for.
Play it here: https://creeperman1524.github.io/SlidingPuzzleSolver/ ๐
It currently features a 3x3 board of 8 tiles, where you can randomly scramble them to try to put them back to their original position. The solve button uses the A* algorithm to find the shortest solution using the current state of the puzzle. You can also click on the tiles to try to solve it yourself!
- This project for providing a boilerplate solution to the website, which I fitted to my needs.
- This course assignment for providing information on how to create a solver like this