⚠️ Slop alert: this README was AI-generated.
A one-line improv game. You get a premise, you say (or type) a line that sells it, and a language model judges whether you landed it. Presented by Val Town; a remix of JevHero.
Each round shows one to three prompts:
- You are… a character (Who)
- Scene: a situation (Where)
- You're… an attitude (How)
Deliver a single self-contained line that uses all of them. Every prompt has its own red/yellow/green bar with a line at 65% — hit 65% on all of them and the round clears. A small coherence bar underneath has to clear too: short fragments, reactions and surreal lines are fine, but keyword piles and bare labels are not.
Difficulty ramps by clears, not rounds:
| Clears so far | Prompts |
|---|---|
| 0 | Who only (from a friendlier starter pool of 40 characters) |
| 1–2 | Who + Where or How (alternates each round) |
| 3+ | Who + Where + How |
Skips and misses don't count as clears, so you stay on the current tier until you actually land one.
Don't say the prompt. Meaningful words from your prompts are forbidden in your line (case-insensitive, whole words, possessives stripped). Filler like the, your, to, get is fine. A forbidden word blocks evaluation and buzzes once until you fix it.
Scoring. A clear earns 100 × prompts + max(0, 300 − 15 × words), multiplied by a streak bonus of up to 4×. Fewer words, more points. Reset (↻) starts a fresh shuffle and keeps your best score.
- Phones default to Speak when the browser supports speech recognition. Tap Speak once to grant the mic, then just talk. The moment a finalized transcript passes, the round clears itself and the mic keeps listening. Voice commands: "start over" clears the line, "skip round" skips, "stop listening" pauses.
- Desktop defaults to Type. Enter submits. Speak (or Space) starts and stops a spoken take and submits its final transcript.
- ⌫ deletes the last spoken word and pauses the mic; ↺ clears the take. Paused transcripts are editable. Neither exists in Hard mode.
- Bars update on interim speech results, but only finalized transcripts can clear a round or award points.
Speech uses the browser's built-in recognition (usually the vendor's cloud service). Nothing is recorded or stored by this app. If speech isn't available, typing and keyboard dictation still work.
Sound on/off (ding on clear, buzz on miss), Hard mode (no backspacing / correcting), and an optional front-camera preview in the lower-right square — that square is otherwise left empty as a landing zone for an external face overlay when streaming.
Remix on Val Town, then set TYPESAFE_API_KEY. Optional: TYPESAFE_BUDGET_USD caps model spend for the project (default 2).
Notes for operators:
- Only the active prompts plus coherence are evaluated per request; there are no background catalog sweeps. The old
/api/matchesroute returns an empty disabled response for stale tabs. - The server builds judge questions from its own approved catalog; clients can't ask about arbitrary prompts.
- Rate limits and a per-project budget guard the model. Submitted text and upstream error bodies are never logged.
- Anonymous level analytics (round, tier, outcome, points — never player text) land in this val's own SQLite database.
scripts/stats.tsis the owner report; append?analytics=testto the game URL to keep QA sessions out of the totals.
index.ts HTTP entry: static files, /api/judge, /api/events, /source
improv-judge.ts Builds server-approved judge questions, parses levels
analytics.ts · scripts/stats.ts Level events and the owner report
budget.ts · rate-limit.ts Spend cap and request throttling
frontend/components/ImprovApp.tsx The game
frontend/lib/improv.ts Catalog, progression, forbidden words, scoring
frontend/lib/useSpeech.ts Browser speech recognition wrapper
frontend/lib/useImprovJudge.ts Debounced live judging
tests/ Progression, speech, layout and judge-calibration checks
tests/feedback.html?analytics=test runs the real UI against deterministic judge responses (0.649 / 0.65 / 0.91) with no model calls. tests/improv-progression.ts is a Deno-runnable check of the clear-based tiers.
- Title font: Jev Stage, a renamed uppercase-only WOFF subset of Astrud by Peter Wiegel, under the SIL Open Font License 1.1 (see
frontend/fonts/OFL.txt). It's a close visual match to the TV show's logo, not a confirmed identification. - Val Town wordmark: official asset from https://www.val.town/brand, cropped only.
- Judging: TypeSafe System One, model
jev-latest(override withTYPESAFE_MODEL).