Party games
Mixed Messages
The draw-and-guess chain for 3 to 12 people, where books pass round the table drawing and guessing in turn, then are unveiled page by page.
On this page
Mixed Messages is the draw-and-guess chain, the telephone game on paper. It’s the first of G5’s drawing games in v2.0.0 (David’s calls of 2026-11-12, docs/mixed-messages.md). Three to twelve people play, round one table or far apart, each on their own phone or laptop. Everyone starts a book with a word; the books go round, a drawing then a guess then a drawing; and at the end every book is unveiled, one page at a time.
It runs on the table service and draws with the drawing kit (ADR 0097, Drawing pads on the server, Drawing on the page). Like Bowl it’s for people only (ADR 0031).
At a glance#
| Part | Where |
|---|---|
| The rules: dealing, books and pages, the steps’ clocks, the unveiling, hearts, ribbons, the view | tables/mixed_messages/rules.py |
| The table: picking, drawing, guessing, waiting, the unveiling and the books | games/static/games/mixed-messages/table.js |
Its entry: the room kit’s start(), its settings in plain words |
games/static/games/mixed-messages/app.js |
| Its look: the sketch pad’s tokens and faces, and its pieces (the pad, the pencil, the dock) Drawing a Blank wears too | games/static/games/mixed-messages/mixed-messages.css, games/static/games/mixed-messages/table.css, games/static/games/mixed-messages/sketchpad.js (the pencil timer) |
| The words it deals | the drawing games’ word bank, tables/drawing/words.py (the table service) |
| How to play | games/rulebooks/mixed-messages.md |
| Tests; the playtest’s stage tool | tests/test_mixed_messages.py, tools/mixed-messages/stage.py, npm run check:mixed-messages:play (tools/mixed-messages/play.mjs) |
The rules in code#
A book and its pages#
Each player is dealt 3 words from the bank, one of each level in a Mixed game, and picks one in 45 seconds (or their first word is theirs). The host can let everyone write their own. That word is the first page of their book.
A book has as many pages after its word as there are players, up to 8, and always an even number, so it ends on a guess:
tables/mixed_messages/rules.py pages_after_word · lines 55–58def pages_after_word(n: int) -> int:
"""Pages after a book's word: as many as players, up to MAX_PAGES, and
always an even number, so every book ends on a guess."""
return min(n - n % 2, MAX_PAGES)
Each step, every player makes one page of a different book. With an even number of players you draw your own word first; with an odd number the next player does:
tables/mixed_messages/rules.py maker · lines 61–64def maker(n: int, book: int, page: int) -> int:
"""Who makes a book's page (1 is the first after the word). With an even
number of players the owner draws their own word first."""
return (book + page - 1) % n if n % 2 == 0 else (book + page) % n
Pages alternate: a drawing in 60 seconds, a guess in 30. A step ends when everyone has sent, or the clock runs out. Then a drawing goes as it stands, and a blank guess goes as no guess. The next drawer after no guess is shown the drawing before it and draws what they think it was. The host can end a step at once.
Drawings are the kit’s#
The game never handles a stroke. It declares this step’s pads, one a player, each watched by its drawer alone:
tables/mixed_messages/rules.py pads · lines 297–307def pads(state: dict) -> dict:
"""This step's drawings, one a player, each seen by its drawer alone."""
if state["phase"] != "draw":
return {}
out = {}
for s in range(state["n"]):
if state["sent"][s]:
continue
book, page = task_of(state, s)
out[pad_name(book, page)] = {"drawer": s, "sees": "drawer", "ends_at": state["ends"]}
return out
and says who may see a finished one: the next guesser (or the drawer after no guess) while the books go round, everyone once its page is unveiled:
tables/mixed_messages/rules.py can_see · lines 318–336def can_see(state: dict, seat, name: str) -> bool:
"""A finished drawing: by the one person it's for while the books go
round (the next guesser, or the drawer after a blank guess), and by
everyone once its page is unveiled."""
at = _page_of(name)
if at is None:
return False
book, page = at
phase = state["phase"]
if phase == "over":
return True
if phase == "unveil":
return book < state["book"] or (book == state["book"] and page <= state["shown"])
if seat is None or phase not in ("draw", "guess"):
return False
b, p = task_of(state, seat)
if b != book:
return False
return (phase == "guess" and page == p - 1) or (phase == "draw" and page == p - 2 and _blank_before(state, b, p))
At the end, drawings(state) names every drawing for keeping, by its book’s owner, so a kept game’s drawings are on its players’ history pages (Kept drawings).
The unveiling, hearts and ribbons#
Books are unveiled in seat order. The owner turns the pages with next (the host can turn any book’s), or whoever they passed it to while away (turner, below). Each player may give each book one heart for a drawing and one for a guess, never their own; pressing another moves it, and pressing the same again takes it back. When a book’s last page is shown, its first word and last guess are compared loosely (tables/answers.py), and a match “came all the way back”.
tables/mixed_messages/rules.py ribbons · lines 379–388def ribbons(state: dict) -> dict:
"""The most-loved drawing and guess (the earliest wins a tie), and the
books that came all the way back."""
best = {"draw": None, "guess": None}
for b, pages in enumerate(state["books"]):
for page, count in _hearts_for(state, b).items():
kind = pages[page]["kind"]
if count and (best[kind] is None or count > best[kind]["hearts"]):
best[kind] = {"book": b, "page": page, "seat": pages[page]["seat"], "hearts": count}
return {"drawing": best["draw"], "guess": best["guess"], "came_back": sorted(state["came_back"])}
There’s no winner: everyone shares first, and a seat’s total is the hearts its pages were given. Its result says nobody, so it’s no one’s win in the Trophy Case or your totals (the Q2 call, 2026-11-13); at its end, whatever the game won (your first game’s Newcomer, a medal) goes on the Trophy Case’s stage, once a game (gameOver). A game is kept only when every book was unveiled (counts). It isn’t rated: its rules say rated = False, which leaves it out of the ratings’ sources (Ratings).
People only#
bots = False. The contract’s simulated people ("sim") play whole games from what their seat sees, with hearts. Someone who leaves is stepped aside: their pages from then on are left blank, and the host turns their book’s pages.
Someone away#
David’s D11 pattern, as in Bowl (Table games): nothing waits on an away seat but the unveiling (away_due is always False), since a drawing or guessing step’s clock ends it for them as for anyone who hasn’t sent. away_turn says it’s theirs while they’re the one turning a book’s pages; the host’s seat bar warns at 20 seconds, with Wait for them, and at the away time away_pass hands the turning to the next person round the table who hasn’t left (state["turner"], in the view as turner), logging away_pass (a toast for everyone). The next book is its owner’s again. The bar sits atop the dock, in its own slot (seatBarIn, .mmseatslot, styled in Mixed Messages’s table.css).
tables/mixed_messages/rules.py away_pass · lines 534–548def away_pass(state: dict, seat: int, now: float) -> None:
"""Someone away who's turning a book's pages hands the turning to the
next person round the table (D11's "pass it on"). The room calls it once
their page has been quiet the away time (45 seconds), after warning the
host, who can Wait for them instead; the host can always turn the pages
too. The next book is turned by its own owner again."""
if not away_turn(state, seat):
return
n = state["n"]
nxt = next(((seat + k) % n for k in range(1, n) if (seat + k) % n not in state["gone"]), None)
if nxt is None:
return
state["turner"] = nxt
log.event(state, "away_pass", seat=seat, turner=nxt)
state["seq"] += 1
Secrets#
While the books go round, a seat sees only its own task: the word or guess it’s drawing, or the drawing it’s guessing (its pad, read through the kit). No other book, nobody’s dealt words. During the unveiling everyone sees the same pages, up to the one turned. The contract’s scramble changes every page a seat can’t see now, and its view and a sim’s move must come out the same.
The interface#
The bar’s title is “Mixed Messages · ” and the phase; on a phone 400px wide or less it says the phase alone (the room’s .titlename, Front end), since name and phase took four or five lines at 320 (playtest 3, 2026-11-20).
The dock stays at the window’s foot (position: sticky) while the book scrolls under it; scrolled to the end, it sits after the book, so nothing is out of reach. Drawing a Blank wears the same dock. The details check allows the book under it (ALLOW, 2026-11-21).
- Picking: three index cards with the word alone (David’s call on the mockups, 2026-11-12: no category or level shown, though the deal still mixes levels), and “Or write your own” when the host allows.
- Drawing: the word in the hand-lettered face, the pencil timer wearing down, the kit’s pad and tools (on a laptop beside the canvas; on a phone beneath it, the colors four by four on the narrowest). “I’m done: send it” locks the pad and sends.
- Guessing: the drawing, a field with its letters left, Send my guess (Enter too).
- Waiting: who’s sent and who’s still going, a pencil by their names that wiggles (and keeps still under reduced motion).
- The unveiling: the page being shown big. A drawing draws itself again in about three seconds (whole with reduced motion), a guess types itself out in Figtree bold, and the last page sets the first word beside the last guess with the whole chain under them. A book that came all the way back gets a banner over the scene, “It came all the way back!”: the table’s big moment, but no one’s victory, so not confetti (the delight pass, 2026-11-13). On a phone the book’s pages so far are a strip over the page; from 1,100px wide (a laptop, a room screen) they go down the left, each drawing small, and the hearts on the page and the books down the right (David’s calls on the mockups, 2026-11-12).
- The end: the ribbons and every book, each with Download image (one picture: the book’s drawings joined, its words as the caption). A guest’s device keeps the game’s drawings (
keepHere); a signed-in player’s are on their history page. - The dock says what to do or what happened in plain words, every state of it held by the play check.
Its look#
Mixed Messages’s personality, in the design system’s personality sheet.
| Family | Board and party: the room kit in a look of its own, live, people only, checked on phones. |
| Palette | Ink #2b2a28 (graphite) on white cartridge paper; the one fill #f2bd2a, a yellow pencil; yours #1f5fc4, colored-pencil blue, as a ring only. The desk is kraft paper. The drawing palette is the kit’s, the same in every look. Two teams’ colors, red and blue colored pencil, are declared here for Drawing a Blank, which wears this look. |
| Faces | Caveat (hand-lettered) for headings and the word to draw; Figtree for everything read or pressed, guesses included |
| Corners and edges | Panels 10px, buttons 10px |
| Board | A spiral-bound pad on the desk: the canvas sits on its page. |
| Emblem and art | Its box: the pad with a lighthouse drawn on it and the yellow pencil beside it |
| Voice | Books, pages, the unveiling; “I’m done: send it”, “Next page” |
| Payoff | “It came all the way back!” in a banner; the ribbons |
| The glance | Now: the word to draw or the drawing to guess. The clock: the pencil. Yours: your chip ringed in blue. |
| Exceptions | The bar’s title is in Figtree, not the display face (Caveat sat a pixel off the back arrow). Its bar’s tools are its own row, not the room’s, so they keep the room’s two rules themselves: the row doesn’t shrink and each button’s words stay on one line, so beside the way home the title gives way first (ADR 0100), taking two lines where they crowd it, as on a phone on its side (ADR 0052) |
Drawing a Blank will wear the same look (David’s call 17b).
Testing#
tests/test_mixed_messages.py: dealing (three each, none twice, one of each level, Easy only, your own word); books (pages by players, one page a step, no one twice in a book, even and odd tables, only the page before yours, the clocks, time up, no guess, typed guesses cleaned, the host ending a step); the kit (one pad each watched by its drawer, Done closing it, who sees a drawing, the unveiling, what’s kept); the unveiling (the owner and the host turning pages, nothing seen early, hearts, a book coming back, ribbons and the result, someone leaving); someone away (a step’s clock ends it for them, an away owner’s pages turned by the next person, skipping anyone who left); the table-game contract with simulated people; and a table played through the service with a stroke drawn through the kit.
The playtest’s Test it stages a table at a moment with tools/mixed-messages/stage.py (pick, draw, guess, unveil, end): you in seat 0, Ruth, Sam and June beside you, who never move, so the tool does what they’d do (their picks, drawings on their pads, their guesses). On both devices (ADR 0111), the playtest names the phone’s seat in UO_STAGE_PEOPLE, and the tool leaves it its own pick, drawing or guess, as it leaves yours.
npm run check:mixed-messages:play plays a game of three in headless Chrome, the browser hosting: picking, drawing with the pointer, guessing a drawing it checks is drawn, the unveiling with a heart and the last page, and the ribbons and books. It checks every status line’s words, no errors and nothing off the side, at any --size, with --reduced, and --shots DIR saves a picture of each step.
Changing it#
| To… | You need |
|---|---|
| Change a rule | rules.py, docs/mixed-messages.md and How to play together, and a test. Live tables’ saved state doesn’t migrate. |
| Change a time | PICK_SECS, DRAW_SECS, GUESS_SECS; the page’s pencil reads the deadline. |
| Change the book length | MAX_PAGES (keep it even). |
| Add words | the drawing games’ bank, in a batch (check:drawing:words). |
Known limitations#
- The play check plays three seats, one in the browser; a full table’s unveiling (twelve books of eight pages) hasn’t been timed with people.
Your move, the first time. Picking a word, drawing a page and saying what a drawing is: the first time each is yours in this browser, the house’s Your move card names it (Pick your word, Draw the page, Guess the drawing) and says what to do (“Pick the word that starts your book.”, “Draw what the page says…”, “Say what the drawing is.”), with no ring after it (the room’s ring went round the whole scene, a box over its words and tools: David, 2026-11-21, “ugly and visually confusing”; the status line and the page itself say what’s yours) (the delight pass, 2026-11-13; once keys mixed-messages:pick, :draw, :guess).