Show HN: Solving Rush Hour, the 6x6 Sliding Block Puzzle
michaelfogleman.com
michaelfogleman.com
I'm interested in the "hardest" 6x6 puzzle. You show the one that takes the most moves to complete, but I don't think that's necessarily very difficult, if they're all pretty straightforward. Rather, I think the hardest puzzle is one where you have a lot of options to choose from. IOW, a very broad tree, rather than a very deep one. Are you able to quantify the hardest puzzle along those lines somehow?
The basic metric their level generator used for quantifying interesting difficulty was the earliest point of non-trivial divergence in solutions. I.e. if there's a puzzle with a 50 and 51 move solution, having those solutions diverge on move 3 is interesting. Having them diverge on move 45 isn't.
https://web.archive.org/web/20100221131225/http://www.thinkf...
(The text of the article is only visible at the very bottom of the page for some reason)
Thinkfun & Mark Engelberg, "The Inside Story of How We Created 2500 Great Rush Hour Challenges"
https://web.archive.org/web/20130703141244/http://www.thinkf...
I'm not sure how best to assign probabilities, or how sensitive it would be to that. Perhaps uniformly, or perhaps biased toward moving closer to the end state.
The guy who made the website literally wrote his master's about it: http://code.ulb.ac.be/dbfiles/Ser2005mastersthesis.pdf
You might want to edit the title.
That could be a matter of counting moves differently (if you move a car two places, is that one or two moves?), but I think that’s unlikely, as it would require about forty such multi-step moves.
So, who’s wrong? You, that paper, or me?
Running my solve utility on his hardest puzzle yields:
$ go run cmd/solve/main.go BBBCDEFGGCDEF.AADEHHI....JI.KK.JLLMM {true [A-1 C+2 B+1 E+1 F-1 A-1 I-1 K-2 D+2 B+2 G+2 I-2 A+1 H+1 F+4 A-1 H-1 I+2 B-2 E-1 G-3 C-1 D-2 I-1 H+4 F-1 J-1 K+2 L-2 C+3 I+3 A+2 G+2 F-3 H-2 D+1 B+1 J-3 A-2 H-2 C-2 I-2 K-4 C+1 I+1 M-2 D+2 E+3 A+4] 49 93 49 12266 1494475}
93 steps, but just 49 moves.
That puzzle is on line 13 of my database:
49 BBBKLMHCCKLMH.AALMDDJ....IJEE..IFFGG 24132
[1] http://www.smartgames.eu/en/smartgames/anti-virus-classic
He also loves Gravity Maze: https://www.thinkfun.com/products/gravity-maze/
Would you mind adding a date to the article? Will make future comparisons to `current "state of the art"` more useful :)
That's a nice thing to strive for. I love puzzle games, but I have come to realize there's a big difference in how different apps generate their games. For instance, Simon Tatham's Puzzle Collection is mostly very good. But for the "Loopy" game, I have liked the variants from the app "Slitherlink" more. Same game, but the challenges presented makes the difference.
https://github.com/JamesDunne/UnBlockMeSolver/blob/master/Un...
PS. Find this one, but did not run any analysis yet: https://github.com/nablaa/rushhour-solver-prolog
Is there an web based version of the game where I can try some of these generated puzzles?