Sliding Puzzle Solver

The sliding puzzle solver is a classic logic game that turns simple moves into deep strategy. Choose any grid size, shuffle, and try to restore the correct order by sliding tiles into the empty space. Prefer a challenge? Let the built‑in solver crack it using BFS, A, IDA, or a strategic human‑style algorithm—then replay the steps to learn how it works. Upload your own image, edit start/goal states, and track time and moves. Fully client‑side, fast, and mobile‑friendly.

What is Sliding Puzzle Solver?

The Sliding Puzzle Solver is an advanced web-based tool that combines the classic sliding puzzle game with powerful artificial intelligence algorithms. Unlike traditional puzzles, this solver doesn’t just let you play—it can automatically solve any configuration using sophisticated search algorithms like Breadth-First Search (BFS), A* with heuristics, Iterative Deepening A* (IDA), and a custom strategic algorithm that mimics human problem-solving approaches.

Flexible Grid Sizes

Create puzzles from 2×2 to 25×25 dimensions

Multiple Solving Algorithms

Choose from BFS, A, IDA, or Strategic solver

Custom Images

Upload your own photos to create personalized puzzles

Goal Editing

 Customize both start and target puzzle states

Interactive Learning

Watch step-by-step solutions and replay moves

Mobile Responsive

Optimized for desktop, tablet, and mobile devices

How to Use Sliding Puzzle Solver?

Getting Started with the Sliding Puzzle Solver

Choose Your Grid Size

01
Use the row and column sliders to select any size from 2×2 to 25×25

02

The default 3×3 puzzle is perfect for beginners

03

Larger grids offer more challenging gameplay

Play Mode Options

01
Shuffle: Randomly mix the tiles to create a new puzzle

02

Reset: Return to the solved state

03

Randomize: Generate a completely random solvable configuration

Manual Solving

01
Click on any tile adjacent to the empty space to move it

02

Drag and drop tiles for easier manipulation

03

Use “Solve Myself” mode to play without AI assistance

Select an algorithm from the dropdown

01
BFS: Guarantees optimal solution but may be slower

02

A: Intelligent search with heuristics for faster solving

03

IDA: Memory-efficient version of A
04
Strategic: Human-like approach that solves systematically

03

Click “Solve for me” to watch the solver solve your puzzle step-by-step

Customization Features

01
Upload Images: Add your own photos as puzzle backgrounds

02

Edit Goal: Customize the target configuration

03

Toggle Numbers: Show/hide tile numbers for visual puzzles
04
Flip/Rotate: Transform puzzle orientation