-
-
The reveal: the overlay rewinds chat to "lemon cake is underrated". LEMON went in at 1:48, 9 people read it, and someone noticed.
-
Voting is one digit: every player has a stable number. Type 2 in chat or tap a name on the card; chat votes only break ties.
-
A 12-player round: the Imposter's card shows LEMON with tips; the board shows only the topic, and later the first letter.
-
Sometimes the word never lands. The case file says so plainly: 0 people saw it, and the Imposter scores nothing.
-
Joining: type !join, open the card link, confirm your Twitch name and get a code. No Twitch login on the card.
-
Final standings: the top five and the champion, on the stream board and on each player's card.
-
The Codex build log: one thread, steps 1-21. Every step's prompt is in the repo, in codex-log/.
The moment
The round ends, and the overlay rewinds the chat. It scrolls back through everything people typed and stops on one ordinary message: "lemon cake is underrated". The word was LEMON. It went in at 1:48. Nine people read it. Nobody noticed.
That's Sus Word: a party game where the chat is the board.
Inspiration
Small streams have a quiet problem. Three people in chat, and nobody wants to talk first. We wanted a game where talking is the game: every message might be evidence, so lurkers start typing just to look innocent.
What it does
- Type
!joinin chat. The bot replies with a link to your private card. Type your Twitch name, and the card hands you a code: send!join CODEand you're in. No Twitch login, and the card checks your name against chat before it gives you a code. - Each round one player (two, with 10 or more) becomes the Imposter. Their card shows a secret word in big letters, plus tips on how to hide it. They have three minutes to slip it into chat inside a normal sentence.
- Everyone else is a Detective. They chat, ask questions and watch for the word. Hints arrive as time runs out: the topic at 1:30, the first letter at 0:30.
- When the timer ends, a banner drops on stream: VOTE NOW. Players type a suspect's number, like
2, or tap them on their phone. Viewers watching the streamed table who aren't seated at it can vote too: their votes show as a thin CHAT bar and break ties, so lurkers matter without being able to swing the result on their own. - The reveal is the show. The overlay rewinds the chat, stops on the one message that carried the word, and counts how many people read it. Then BUSTED slams down, or the Imposter gets away with points. A detective who's sure can call it mid-round, and the stream gets a BUSTED moment right then. After the reveal the bot drops one line in chat, the case file, e.g. "LEMON slipped in at 1:48 · 9 read it · nobody noticed".
- The streamer plays too. With the mic on, their speech counts as messages.
Our first playtest failed, and that made the game
We played the first version live on Twitch with real people. It didn't work. In five of six rounds something went wrong:
- players typed
ijoininstead of!join; - one typed a made-up name on the card and was locked out for ten minutes;
- an Imposter never knew they were the Imposter, because nothing told them to look at their card;
- a player solved the round in plain words but never typed the vote command;
- votes typed a second after the timer were lost, because viewers watch the stream a few seconds behind.
We wrote every one of those down, turned them into a spec, and took it back to the same Codex thread. The rebuild:
- one join command, with the name checked before a code is issued;
- a card that is also the rulebook: your role, your word, what to do and an example;
- a stable number for every player, so voting is a single digit;
- a 6-second grace for stream delay, and a card that won't spoil the reveal before the stream shows it;
- a loud vote banner with a countdown, and animations timed to the frame: role flip, stamp slam, vote bars, the rewind.
Two more live tests, and what they fixed
After the rebuild we played twice more on twitch.tv/romabuilds.
- 30 Oct (2 people + 3 SIM seats): it worked end to end, and Roma got caught hiding BELT in "I sold leather belts". It also showed dead time: a fake lobby clock, simulated players repeating themselves, new Twitch accounts whose messages never reached the channel. Step 31 fixed the lobby and the onboarding.
- 31 Oct (3 people, no SIM, one brand-new account): three full rounds, and the chat was the fun part ("cydshop 'your best space' sounds weird to me"). It also caught a real bug on a player's phone: a Detective who voted for the right person, in a round where the vote split and the Imposter got away, saw "YOU CAUGHT ONE!". We filed it with the screen recording, and step 32 in the same thread made the card follow the round ("RIGHT GUESS — the vote split, so @romabuilds got away"), stopped saying "nobody noticed" when someone did, moved SPACE out of the fantasy word list, and kept counting readers through the vote. 154 tests and 87 browser checks, all green.
Built for big chats too
Up to 12 players share one table. When more people want in, Sus Word deals them into balanced tables that play at the same time. The table on stream plays in Twitch chat; the rest talk in their own table chat on the phone card. A FINAL round seats the best player from each table for one last game on stream.
How we built it with Codex
- Built in one Codex thread, 32 steps. Every step's prompt is in the repo, in
codex-log/, so you can read the whole build the way Codex got it: game logic and tests, Twitch EventSub chat and OAuth, the overlay, the phone card, streamer voice, the photo-real redesign, scaling, tables, and the v3 rebuild after the playtest. - Before every step we wrote a short spec and handed Codex the approved design frames as images. Codex wrote the code and the tests; we checked every step on a live overlay, captured it frame by frame, and fed what we found into the next step.
- Stack: Node 24, Express,
ws, Twitch EventSub over WebSocket, Helix Send Chat Message, the Web Speech API, and plain HTML/CSS for an OBS browser source. Fonts and images are self-hosted. - 154 tests cover word detection, the round state machine, ties, scoring, seating from 3 to 200 players, number votes and the grace window, crowd tie-breaks, joining, the reveal hold, and the room the vote board leaves for each name at 480p (every name in a 12-player test table was also checked on screen). A separate run in real Chrome (87 checks) looks at every overlay screen for clipped names, every overlay and card screen for console errors, and the card's result in each outcome.
Testing with a small channel
npm run sim seats a few simulated players next to real ones. Every simulated player carries a SIM tag on the overlay, and they never post in Twitch chat.
What's next
- Small tables: with three players the Imposter's own vote is a third of all votes, so ties are common and the Imposter often walks. Next: at tables of four or fewer, the Imposter's vote won't count toward the accusation.
- A clear beat when chat accuses the wrong person: it's the funniest outcome of a round, and right now the reveal only says the Imposter got away.
- Fewer bot lines between rounds, so the conversation stays on a phone screen.
- Tournament nights with brackets across several streams.
- Word packs streamers can theme around their community.
Built With
- codex
- css3
- eventsub
- express.js
- html5
- javascript
- node.js
- obs
- openai
- twitch
- web-speech-api
- websockets