What are the best auto solve slider puzzle code?

Asked By 10 points N/A Posted on -

Hello techyv,

What are the best auto solve slider puzzle code? I need some help with those programmer here in techyv to at least share your ideas or your sample codes in creating a auto solve slider puzzle. This is for my multimedia school project. I don’t know how to create one. Also suggest for the most preferable software for this kind of problem.

Expecting some help from you guys. Thank you.

Answered By 0 points N/A #187844

What are the best auto solve slider puzzle code?


Dear Markusa Raine,

It is very hard to solve sliding puzzles. Many programmers categorize sliders as PSPACE because of its complexity. There are no fixed rules to solve a sliding puzzles. There are some software you can buy for auto solving sliding puzzles.

There are 15 types of sliding puzzles because of its pieces and squares. If you want to solve you can follow few hints:

  • Begin by maneuvering the 1 and 2 into their proper positions in the upper left corner.
  • Position the 3 in the upper right corner.
  • Maneuver the 4 under the 3
  • Now slide the 3 to the left and the 4 up; the first row is done.
  • Repeat this process with next row, leaving row above intact.
  • Complete the puzzle by rearranging the pieces in the last two rows until they are in position.
  • Sometimes it's easier to create "snakes" of pieces in the proper order rather than put them in their final position individually.
  • If you're assembling a picture, study the design carefully before it's scrambled. It's harder to solve if you're not clear about the final outcome.

You have to be patient and have to try hard. The longer it takes, the more satisfying the solution.


Thank you.

Login/Register to Answer

Related Questions