Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
A question about the creation and development of puzzles. Not to be used for requesting the creation of a puzzle.
34
votes
3
answers
6k
views
How can I procedurally generate Sokoban puzzles?
How can Sokoban puzzles be procedurally generated with a computer program, guaranteeing at least one solution?
A simple algorithm might be:
{n} times
place a "target" square and a box on the squ …
8
votes
1
answer
717
views
How to avoid getting "stuck" while generating sudoku puzzles?
I understand the basic method of generating sudoku puzzles, which is:
Put a random number in the current square.
If the puzzle is still valid, go to the next square. Otherwise, stay on the same squa …
15
votes
4
answers
5k
views
How can I generate mazes that often have multiple "forks" or choices?
The basic algorithm for procedurally generating mazes goes something like this:
Choose a random available direction from the current square.
If there is one, go there and repeat from step 1.
Otherwi …
13
votes
2
answers
10k
views
Removing numbers from a full sudoku puzzle to create one with a unique solution
What is a simple and efficient way of removing numbers from a full sudoku puzzle to create one with a single unique solution?
I have already figured out how to generate sudoku grids, like this one:
…