Set your puzzle dimensions, choose a custom image, and configure the start and goal states of your sliding puzzle.
Challenge yourself by trying to solve the puzzle manually - click or tap tiles to slide them into position.
Let our advanced algorithms find the optimal solution path for you. Choose from multiple solving methods.
A sliding puzzle is a combination puzzle that challenges you to slide pieces along certain routes to establish a certain end-configuration.
Our solver implements several algorithms including A*, IDA*, BFS, and strategic pattern-based solving methods.
The puzzle has two main states you can customize:
Edit Start: This button lets you customize the starting configuration of the puzzle by freely dragging and rearranging tiles.
Edit Goal: This button allows you to define a custom goal state that the puzzle should be solved to, rather than using the default ordered configuration.
Solve Myself: Once you've set up your puzzle, click this button to try solving it manually by sliding tiles according to puzzle rules.
Note: The puzzle automatically checks if your start and goal states are solvable. If not, it will offer to fix the puzzle by swapping two adjacent non-blank tiles.
Yes! You can upload your own image or provide a URL to create a custom sliding puzzle.
The Sliding Puzzle Solver is an interactive web application that allows users to create, play with, and automatically solve sliding puzzles of various dimensions. It was developed to demonstrate algorithms and problem-solving techniques in a fun, interactive way.
This project showcases multiple path-finding algorithms and offers a customizable experience for puzzle enthusiasts.