Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Some background: I'm poking at a set of puzzles along the lines of Rush Hour/Sokoban/etc; for want of a better description, call them 'motion planning' puzzles - the player has to figure out the correct sequence of moves to achieve a particular configuration. (One characteristic of the sort of puzzle I'm thinking of is that they're generically PSPACE-complete; they're not necessarily in NP because the optimal sequence of moves isn't necessarily polynomial in the input size, so we can't guarantee that a solution can be verified in polynomial time).

While I have a few straightforward 'building blocks' that I can use for puzzle crafting and I have a few basic examples put together, I'm trying to figure out how to avoid too much sameness over a large swath of these kinds of puzzles, and I'm also trying to figure out how to make puzzles that have more of a feel of logical solution than trial-and-error. Does anyone know of good resources out there for designing instances of this sort of puzzle once the core puzzle rules are in place? Most of what I've found on puzzle design only covers creating the puzzle rules, not building interesting puzzles out of a set of rules.

share|improve this question

2 Answers 2

It seems to me that most of these types of puzzles can be related to solving an over-constrained system of equations that happens to have a solution. I'm not sure if that makes sense, but if you can somehow relate your rules to a system of equations, then build "solutions" from what you know the answer to be, it might lead to interesting problems. It also means that the puzzles are entirely mathematical and not "motion-like" at all. Just a bunch of static equations :-)

Another way of looking at it is considering that the simpler types of these puzzles have direct solutions --- that is, move a piece, then another, then another & then it's solved!, but the more complicated ones can force you down a path that doesn't seem obvious at first. Start from the final solution and applying your rules in reverse to complicate the initial conditions will also help. Looking at each rule application as a branch on a tree or graph, the interesting puzzles are very dense with only one or two paths that lead to solutions instead of many paths that lead to solutions.

share|improve this answer
1  
I'm not sure where you get an over-constrained equation system out of this - I can see that for a problem like Lights Out, but one of the hallmarks of this sort of system is that it inherently can't be solved mathematically like that (well, to the best of anyone's knowledge at least!) - if we could get a reasonable set of equations out of it then we could easily solve it in polynomial time. Can you give an example of what you mean by this? –  Salano Software Mar 20 '11 at 16:48

For the most part it's easy to generate these puzzles by starting at the solution and iteratively choosing objects to move or mutate until you reach a suitable start point. The player then has to perform the same steps (or equivalent) in reverse order, and the more steps you used, the harder it is likely to be for them to solve it.

I'm not sure it would be practical to have any way of auto-generating puzzles that rely on different classes of sub-problem however; that would probably require a human mind to identify these areas and exploit them.

share|improve this answer
    
I'm less interested in auto-generation than manual; it seems like autogeneration would tend to lead to uninteresting and/or unintuitive puzzles - think Rush Hour, for instance, where for the most part the puzzles are carefully crafted for unique, deductive solutions. The goal isn't to have ten of these a day for years, Sudoku-style, but to have a few dozen cherry-picked puzzles chosen for maximum enjoyment; more art than science, in a way. –  Salano Software Mar 21 '11 at 22:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.