DEV Community

PYXL
PYXL

Posted on AI-assisted

We built Crossword Solvers: a clue solver that tells you why an answer fits

You are stuck on one square. You have a clue, a few letters from the crossings, and a list of fifty five-letter words from a search box that has no idea which one you need. Most solvers hand you a list. We wanted one that tells you why an answer fits.

So we built Crossword Solvers: type the clue and any letters you already have, and the answers come back ranked, each with the reason it matches.

What it does

The main solver takes a clue, a length and the letters you know, with empty squares for the missing ones. "Large body of water" in five letters puts OCEAN first, with the definition it matched and the real puzzle where that clue ran. Leave the clue empty and it works as a missing-letter finder: S_A_E fits 38 words, and the row under the squares shows which letter each empty square most often takes.

The cryptic clue solver is the part we enjoyed building most. Type a cryptic clue with its letter count and it draws the reading on the clue itself: which end is the definition, which word is the indicator, and what each piece gives. "River in feline wagon (4)" comes back as CART: R inside CAT, with "in" as the container indicator and "wagon" as the definition.

The daily answers page lists today's grid for each paper, with hints one letter at a time so you can check a single answer without spoiling the rest.

What's inside

  • 2,222,401 clues from real puzzles to check your clue against
  • 23 daily papers and puzzles, from the NYT and LA Times to the Guardian, WSJ, Universal and Penny Dell
  • 36,631 past issues, the oldest from June 1999
  • 10 kinds of cryptic wordplay checked: anagram, hidden word, reversal, first, last and alternate letters, deletion, charade, container and double definition
  • About 150 standard crossword abbreviations (river = R and so on)
  • A beginner's guide to cryptic crosswords with six real Guardian clues, one step at a time

Who it's for

  • Anyone stuck on the last few squares of the morning crossword.
  • People learning cryptics, who want to see how a clue works, not just its answer.
  • Solvers of app puzzles and ciphers, which have their own pages too.

How it's built

Next.js on Vercel. Answers are ranked by meaning: a dictionary of synonyms and definitions decides which words can stand for the clue, and the clue archive confirms when a word has actually answered that clue before. The cryptic solver takes the definition from either end, then tests the rest of the clue as each kind of wordplay, building pieces from abbreviations and synonyms. A reading ranks high only when the wordplay and the definition agree. It still misses homophones, anagrams with extra letters mixed in, and pieces that need general knowledge, and it says so on the page.

What's next

Homophones in the cryptic solver, and more papers on the daily page.

Paste a clue that stumped you this week into the solver and tell us in the comments whether it found the reason.

This post was written with AI assistance.

Top comments (0)