Skip to main content
Thanks for the feedback!

Sliding Puzzle (8-puzzle)

Live · No sign-in needed

Demo 2, Sliding Puzzle (8-puzzle)

Click "Auto-solve". The GA evolves move sequences and plays them on screen. Once it finds a complete solution, the remaining moves follow that verified plan.
3
6
4
2
5
8
1
7
Evolving sequence…
GA Result
Move source
New GA search
Solved
No
Manhattan distance
14
Last move played
—
Last swap
—
Best fitness
—
Generations evolved
GA wall-time
ms
Evolved sequence (first 8 moves)
—
Want to Run Your Own?

Sign in for free to launch your own genetic algorithm against the built-in quick problems, or upload a custom one.