Boneyard Tools

How a word search generator works

How words get placed across eight directions, why longer words go first, and how the empty cells are filled to hide the answers.

Placing the words

Each word is reduced to its letters and the generator collects every spot where it could sit: a start cell and a direction where the word stays inside the grid. Those candidate spots are shuffled with a seeded random number generator, then tried one by one. A spot works when every cell it covers is either empty or already holds the matching letter, which is how words are allowed to cross and share letters.

Longest words first

Long words are the hardest to fit, so they are placed before short ones. Once the grid is busy, a short word can almost always squeeze into a gap, while a long word added late might have nowhere left to go. Placing in length order keeps the puzzle dense and reduces how many words end up unplaced.

Filling the blanks

After every word is placed, the remaining empty cells are filled with random letters drawn from the same seeded generator. This is what hides the answers: the real words blend into a field of noise. Because the filler comes from the seed too, the same settings always rebuild the identical grid, letters and all.

Directions and difficulty

Difficulty comes mostly from direction. A grid that only runs left to right and top to bottom is gentle and good for early readers. Adding diagonals and backwards words makes a puzzle much harder, because solvers have to scan eight ways out of every cell instead of two.