How to make a game like Wordle
A daily word game is a tiny rules engine plus a calendar. Get the scoring, the word lists and the daily seed right, then give it a feedback rule nobody has seen.

Key takeaways
- Use two word lists: a small, curated list of answers and a large list of accepted guesses. Most frustration comes from mixing them up.
- Score duplicate letters in two passes (exact matches first, then near matches from what is left), or your feedback will lie.
- One puzzle per day for everyone, a streak, and a share grid that shows the pattern but never the word: that is the social engine.
To make a game like Wordle, you need a hidden word chosen from a curated list by today’s date, a limited number of guesses checked against a larger dictionary, letter-by-letter feedback after each guess, and a share grid that shows how you did without spoiling the answer. That is the genre: the daily word puzzle. The mechanics are simple enough to build in an afternoon, but a few details (duplicate letters, time zones, word lists) decide whether players trust it. One rule before you start: the Wordle name, its look and its exact presentation belong to its owner. Build the genre, then give it a feedback rule of your own.
Why the daily word format works
- Scarcity. One puzzle a day means you cannot binge it. Players come back tomorrow because there is nothing more to do today.
- Everyone gets the same puzzle. That turns a solo game into a conversation. Friends compare how many guesses it took, not who played longest.
- Deduction, not trivia. Each guess gives information, so a good player improves by thinking, not by knowing obscure words.
- The share is the advertisement. A grid of colored squares is curious to people who have not played and meaningful to people who have.
Those four properties matter more than the specific rules. Keep them, and you can change almost everything else. The broader daily puzzle game guide covers the format for non-word puzzles too.
The two word lists
Every daily word game rests on two lists, and they serve opposite purposes:
- Answers: common, recognizable words only. No plurals made by adding an s, no obscure spellings, nothing offensive or upsetting. A few hundred words already gives you a year or more of puzzles; around 2,000 is plenty for years.
- Accepted guesses: a much larger dictionary (often 10,000 or more words of the right length) so players are not punished for knowing a real word. A guess not in this list is rejected with a gentle shake, and it does not cost a turn.
Store the answer list in a fixed, shuffled order and pick today’s word by index: days since your launch date, modulo the list length. Shuffle once with a seed and commit the order; never reshuffle after launch or players will see repeats. Keep the answer list out of plain sight in the page if you can (a server-side lookup through Startbase Cloud works well), because curious players do open developer tools.
Scoring a guess correctly
The classic bug: the answer has one E, the guess has two, and both get marked as present. The fix is a two-pass check.
- 01Count each letter in the answer.
- 02Pass one: for every position where guess and answer match, mark it exact and subtract one from that letter’s count.
- 03Pass two: for every remaining position, if the letter’s count is above zero, mark it present and subtract one. Otherwise mark it absent.
The on-screen keyboard needs its own rule: each key shows the best result that letter has ever had (exact beats present beats absent), so a letter found in the right spot never turns back to yellow. Write the scorer as a pure function with a dozen test cases for doubled letters. It is the one piece of code worth testing obsessively.
The calendar, streaks and saved state
- Pick a day boundary and stick to it. Local midnight is friendlier (everyone gets a new puzzle at breakfast) but players in different zones see different words at the same moment. A single global boundary is simpler for comparing. Either works; changing it later breaks streaks.
- Save the board on every guess. Reloading the page mid-puzzle must restore the exact board. Save in the browser first; save to an account if you want streaks to follow players across devices.
- Streaks: current streak, max streak, and a guess distribution chart (how many puzzles solved in 1, 2, 3... guesses). Count a day as kept only if solved. The daily rewards and streaks guide covers forgiving streaks if you want one missed day not to reset everything.
- A countdown to the next puzzle on the results screen tells players exactly when to come back.
The share grid
The share text is three things: the game name and puzzle number, the guesses used, and one row of emoji squares per guess. No letters, ever. Copy it to the clipboard with one tap, and on phones offer the native share sheet. Use distinct colors that still read for color-blind players (a high-contrast option that swaps green and yellow for orange and blue is a common, kind default for the game itself), and keep the share legible as plain text in a group chat.
Three twists that make it yours
A clone of the green-yellow-gray rules adds nothing. The genre is wide open if you change the feedback or the goal:
- 01Alphabet arrows. Instead of present or absent, each wrong letter tells you whether the correct letter is earlier or later in the alphabet. It turns guessing into a binary search and feels completely different to play.
- 02A category of the day. Today’s word is a kind of fruit, a city, a verb. Players can reveal the category for a cost (one fewer guess), which adds a real decision.
- 03Two boards, one keyboard. Every guess is scored against two hidden words at once. Players juggle two deductions, and the share grid becomes two columns.
A brief for an original daily word game
A daily word puzzle called Letterlock, mobile first. Each day everyone gets the same hidden six-letter word, chosen by date from a curated, pre-shuffled answer list of common words. The player has eight guesses; each guess must be a real six-letter word from a larger accepted-guess list (rejected guesses shake and do not cost a turn). Feedback per letter: a lock icon if the letter is correct in that position, otherwise an up arrow if the correct letter comes later in the alphabet or a down arrow if earlier. The on-screen keyboard dims letters ruled out by the arrows. Styling: brass and dark wood, like a safe, with a satisfying click on each locked letter. Save the board after every guess so a reload restores it. Results screen: solved or not, guesses used, current and max streak, a distribution chart, a countdown to the next puzzle, and a Share button that copies the puzzle number and a grid of lock and arrow emoji with no letters. Include a high-contrast mode.
For a ready-made starting point with different rules, see the daily word puzzle prompt, and the word game guide for non-daily formats like anagrams and word search.
Pitfalls that cost trust
- Obscure answers. One unfair word and players stop sharing. Read your answer list out loud and cut anything you would have to look up.
- Repeats or skipped days after you edit the list. Append new words to the end; never reorder what is already scheduled.
- Lost progress. A board that resets on reload loses players permanently.
- Typing on phones. The on-screen keyboard is the main input. Make keys big, put Enter and Backspace where thumbs expect them, and support a physical keyboard on desktop.
- Spoilers in the share. Test the share text in a real chat before launch.
Frequently asked questions
Is it legal to make a game like Wordle?
Word deduction games are an old genre, and many games use similar ideas. Do not use the original’s name, branding, look or exact presentation. An original name, design and a different feedback rule keep your game clearly your own.
How do I handle repeated letters in a word guessing game?
Count letters in the answer, mark exact matches first and subtract them from the counts, then mark near matches only while counts remain. Everything left is absent.
Where do I get a word list?
Use an openly licensed dictionary for accepted guesses and curate your own short answer list by hand. Check the license of any list you use, and remove offensive words from both.
How do I make everyone get the same word each day?
Shuffle the answer list once with a fixed seed, save that order, and pick the word by the number of days since launch. Decide whether days roll over at local midnight or at one global time, and never change it after launch.

