Three shareable games - #144
Merged
Merged
Conversation
All three are shareable, which is the point of them: the score copies as an emoji grid with a link, the format people already know what to do with. The vocabulary test copies a bare link because there the link *is* the result — it carries the answers — and pasting a sentence in front of it broke pasting into an address bar. Here the grid is the result and the link is where to go and play it, so both belong on the clipboard. **Five letters, once a day** — 42 languages. Answers come from each language's commonest 2,500 words so a puzzle is never a word nobody has met, guesses are accepted from the whole list so a fair try is not refused, and the keyboard is built from the letters that language's own words actually use. Only alphabetic scripts: an abugida writes a vowel as a mark on a consonant and an abjad leaves it out, so "five letters" is not a question either can be asked. The day picks the word, so everyone gets the same one without a server. **Which language is this?** — ten words a day. Every word occurs in exactly one of the 53 lists, which is what makes it a question rather than a trick; 44,045 words qualify and the 4,000 commonest are shipped. **What do these words mean?** — ten words a day per language, four meanings each. The wrong answers are other glosses from the same list, and the pool skips glosses that describe rather than translate, so the four options are four answers rather than one answer and three explanations. Needs no data file: the page already has the list. The answers also gained the space they were missing — the grid sat flush against the section below it until something was clicked. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Three tools, and all three exist to be shared: the score copies as an emoji grid with a link — the format people already know what to do with.
/tools/word-game/<language>— 42 languages/tools/guess-the-language— ten words a day/tools/meaning-quiz/<language>— all 53 languages99 new pages; the site is at 1,284.
The word game
Answers come from each language's commonest 2,500 words, so a puzzle is never a word nobody has met. Guesses are accepted from the whole 10,000, so a fair try is not refused. The keyboard is built from the letters that language's own words actually use — not a hand-written alphabet — which is what makes Turkish, Greek and Georgian playable without switching keyboards.
Only alphabetic scripts. An abugida writes a vowel as a mark on a consonant and an abjad leaves it out, so "five letters" is not a question either of them can be asked; Chinese and Korean are further still. 42 of 53 qualify, smallest pool 225 answers.
The day picks the word, so everyone gets the same puzzle without a server knowing anything.
Which language is this?
Every word occurs in exactly one of the 53 lists — that is what makes it a question rather than a trick. 44,045 words qualify; the 4,000 commonest ship.
What do these words mean?
The wrong answers are other glosses from the same list, and the pool skips glosses that describe rather than translate — so the four options are four answers, not one answer and three explanations. Needs no data file: the page already has the list.
On the clipboard, which is deliberate
The vocabulary test copies a bare link, because there the link is the result — it carries the answers — and putting a sentence in front of it broke pasting into an address bar.
These three copy grid + link, because the grid is the result and the link is where to go and play it. The button says "Copy result" rather than "Copy link" so nobody expects a bare URL.
Also
The answers gained the space they were missing — the option grid sat flush against the section below it until something was clicked.
Data added: 880 KB.
npm run lint,npm run check(0 errors), the build and the Impeccable detector (0 findings) all pass. All three were played end to end in the browser: the word game's win state and grid, ten rounds of each quiz, and the copied text.🤖 Generated with Claude Code