Questions tagged [sliding-tile-puzzle]

For algorithm or programming questions about sliding puzzles (such as the 8-puzzle or 15-puzzle), where the player is challenged to slide randomized, numbered tiles along certain routes on a board in order to arrive at a certain end configuration. There is one tile missing, in order to facilitate movement.

For algorithm or programming questions about sliding puzzles, such as the 8-puzzle or 15-puzzle, which challenge the player to slide randomized, numbered tiles along the playing surface in order to arrive at a certain end configuration. There is one tile missing, in order to facilitate movement of other tiles across the board.

Commonly, such puzzles are solved with an A* algorithm.

166 questions
-6
votes
1 answer

Modify 8 puzzle java

I have a question with the code (it is a 3x3 matrix), I have to be able to win in 2 ways (horizontally or circular) 1 | 2 | 3 4 | 5 | 6 7 | 8 | 0 or 1 | 2 | 3 8 | 0 | 4 7 | 6 | 5 "0" is a blank For now I am commenting one line (and I can…
user3815016
  • 1
  • 1
  • 2
1 2 3
11
12