How it works
Every puzzle is a wrong guess and its colours, chosen so that only one word in the dictionary could have produced them. Type any word below to see every puzzle it makes. Further down is the code this page actually runs to work that out.
Explore a word
The shape system
A shape is three numbers that add up to five. G letters are already in place. Y letters are shown but have to move. X letters aren't shown at all, so you have to come up with them. The grid counts every one-answer clue without a grey clash by its greens and yellows. Only the outlined cells go into the game, because playtesting found 1–2 greens and 1–2 yellows the most fun.
The pipeline
build.py runs these steps once and writes the puzzle files the game loads. Bar lengths use a log scale. Each step names the function below that does it.
The code
These are the functions running on this page right now. The text in each box is read straight from the running code, so it can't drift from what the page does. build.py does the same maths in Python with numpy so it can check six million pairs in a few seconds, and the check below proves the two agree.
Check it yourself
This runs the code above over every common word as a clue against all 8,636 words: about 22 million colour checks. Then it compares each one-answer clue, its verdict and its difficulty measures with what build.py produced.