Technical guide

Party games

Exquisite Corpse

A drawing game for people, where everyone draws one part of a figure seeing only the edges of the parts beside it, then the paper is unfolded and the table votes for its favorites.

Checked against the code on 2026-11-21. Play Exquisite Corpse

On this page
  1. At a glance
  2. The rules in code
    1. Folds and starts
    2. Passing
    3. The pads, and the edges beside yours
    4. A step
    5. The unfolding
    6. The votes
    7. What’s kept
    8. The contract
  3. Your move
    1. Someone away
  4. Secrets
  5. Bots
  6. Trophy Case
  7. Rating
  8. The interface
    1. Drawing your part
    2. The unfolding
    3. The votes and the favorites
  9. Its look
  10. Testing
  11. Changing it
  12. Known limitations

Exquisite Corpse is the Surrealists’ folded-paper drawing game, in the shape David gave it (2026-11-12, ADR 0098). Two to twelve people, each on their own phone, draw at once. There’s a corpse for every player, folded into three parts or one part per player. Each step you draw one part of the corpse in front of you, seeing only a strip of the parts above and below it, and then every corpse moves one seat clockwise. When every part is drawn, the corpses are unfolded one at a time, and everyone votes for a favorite corpse and a favorite part. Nobody wins.

It’s the first game on the drawing kit (ADR 0097): the kit does the canvas, the tools, the strokes and who sees them; this game says which pads are open and who may see a finished one.

At a glance#

Part Where
The rules: the folds, passing, the pads and their hints, Hurry up, the unfolding, the votes, what’s kept tables/exquisite_corpse/rules.py
The table: drawing your part, waiting, the unfolding, the votes, the favorites games/static/games/exquisite-corpse/table.js
Its entry into the room kit; How to play games/static/games/exquisite-corpse/app.js, games/static/games/exquisite-corpse/rules.js
How to play: the rulebook (ADR 0075) games/rulebooks/exquisite-corpse.md
Its look games/static/games/exquisite-corpse/exquisite-corpse.css (tokens, fonts), games/static/games/exquisite-corpse/table.css (the table)
Its pages; Your corpses (the kit’s gallery, in this game’s words: every corpse you helped draw, joined) games/templates/games/exquisite-corpse.html, games/templates/exquisite-corpse/page.html; games/templates/exquisite-corpse/gallery.html
Tests; the play check; the playtest’s stage tool tests/test_exquisite_corpse.py, tools/exquisite-corpse/play.mjs, tools/exquisite-corpse/stage.py
Design notes and David’s calls docs/exquisite-corpse.md

The rules in code#

Folds and starts#

The one table setting is the folds: three (Head, Body and Legs) or one per player.

tables/exquisite_corpse/rules.pyoptions · lines 51–52
def options(raw: dict | None) -> dict:
    return {"folds": moves.choice(raw, "folds", FOLDS, DEFAULTS["folds"])}

A new round deals each corpse its first part, at random by the table’s seed, so a player may start with the legs; but so that each player draws a different part each step. Purely shuffled starts lined up with the seats half the time with three players, and then one player drew every head (the play check found it):

tables/exquisite_corpse/rules.py_starts · lines 79–103
def _starts(players: int, parts: int, rng: random.Random) -> list[int]:
    """Each corpse's first part (David's UX: "randomly assigned"), so that each
    player draws a different part each step, or as near as the count allows.

    Seat s draws corpse s - k at step k, at part start + k: the part is
    s + (start - corpse). So each corpse gets an offset (its start less its
    number), and a run of `parts` corpses in a row has every offset once:
    a shuffled order of the offsets, repeated round the table. That's exact
    when the parts divide the players (and always with one part each); the
    best of every turn of the table and every order otherwise."""
    if parts == players:
        offsets = list(range(parts))
        rng.shuffle(offsets)
        return [(c + offsets[c]) % parts for c in range(players)]
    orders = [list(o) for o in itertools.permutations(range(parts))]
    best = []
    for order in orders:
        for turn in range(players):
            starts = [(c + order[(c + turn) % players % parts]) % parts for c in range(players)]
            score = repeats(starts, parts)
            if not best or score < best[0][0]:
                best = [(score, starts)]
            elif score == best[0][0]:
                best.append((score, starts))
    return rng.choice(best)[1]

Passing#

Where everything is follows from the step alone. Corpse c starts with seat c and moves one seat clockwise each step; each step it’s drawn one part further down, wrapping from the bottom to the top. A round has as many steps as a corpse has parts.

tables/exquisite_corpse/rules.pycorpse_at · lines 123–127
def corpse_at(state: dict, seat: int, step: int | None = None) -> int:
    """The corpse in front of this seat at a step: corpse c starts with seat
    c and moves one seat clockwise each step."""
    k = state["step"] if step is None else step
    return (seat - k) % state["n"]
tables/exquisite_corpse/rules.pypart_at · lines 130–134
def part_at(state: dict, corpse: int, step: int | None = None) -> int:
    """Which part of a corpse is drawn at a step: the next one down each
    step, wrapping to the top."""
    k = state["step"] if step is None else step
    return (state["starts"][corpse] + k) % state["parts"]

The pads, and the edges beside yours#

Each part being drawn is a pad, 4:3, seen by its drawer alone. Its hints are the strips of the parts beside it that are already drawn (0.1 of each), cut on the server so the page is sent only the strip:

tables/exquisite_corpse/rules.py_hints · lines 154–162
def _hints(state: dict, c: int, q: int) -> list:
    """The strips of the parts beside this one already drawn: the bottom of
    the one above, the top of the one below (David's UX, 2026-11-12)."""
    out = []
    if q > 0 and drawn(state, c, q - 1):
        out.append({"view": "strip", "of": pad(c, q - 1), "edge": "bottom", "share": SHARE, "side": "above"})
    if q < state["parts"] - 1 and drawn(state, c, q + 1):
        out.append({"view": "strip", "of": pad(c, q + 1), "edge": "top", "share": SHARE, "side": "below"})
    return out
tables/exquisite_corpse/rules.pypads · lines 165–178
def pads(state: dict) -> dict:
    """The parts being drawn now, each seen by its drawer alone (the drawing
    kit, docs/drawing-kit.md)."""
    if state["phase"] != "draw":
        return {}
    ends = state["hurry"]
    out = {}
    for s in range(state["n"]):
        if state["done"][s]:
            continue
        c = corpse_at(state, s)
        q = part_at(state, c)
        out[pad(c, q)] = {"drawer": s, "sees": "drawer", "ends_at": ends, "aspect": ASPECT, "hint": _hints(state, c, q)}
    return out

A finished part is folded away: only its drawer sees it while the step lasts, and everyone once its corpse is unfolded.

tables/exquisite_corpse/rules.pycan_see · lines 181–195
def can_see(state: dict, seat, name: str) -> bool:
    """A finished part is folded away until its corpse is unfolded: then
    everyone at the table, and anyone watching, may see it."""
    try:
        c, q = (int(x[1:]) for x in name.split("-"))
    except (ValueError, IndexError):
        return False
    if not (0 <= c < state["n"] and 0 <= q < state["parts"]):
        return False
    if state["phase"] == "draw":
        # (your own part, while the step lasts: what you sent, on your screen)
        return seat is not None and drawn_at(state, c, q) == state["step"] and drawer(state, c, q) == seat
    if state["phase"] == "reveal":
        return c <= state["showing"]
    return state["phase"] in ("vote", "over")

A step#

A step ends when everyone has pressed Done (done; undone takes it back while the step lasts). There’s no clock, but the host’s Hurry up gives whoever’s left 30 seconds, and the pads close then (their ends_at, plus the kit’s grace). Someone who leaves is marked done, so nothing waits on them, and their later parts stay blank.

tables/exquisite_corpse/rules.py_next_step · lines 218–236
def _next_step(state: dict, now: float) -> None:
    """Everyone's done: fold the parts away and pass the corpses on, or, after
    the last step, start unfolding them."""
    k = state["step"]
    for s in range(state["n"]):
        c = corpse_at(state, s)
        state["by"][c][part_at(state, c)] = s
    state["hurry"] = None
    if k + 1 >= state["parts"]:
        state["phase"] = "reveal"
        state["showing"] = 0
        state["since"] = now
        log.event(state, "unfold", corpse=0)
        return
    state["step"] = k + 1
    state["done"] = [s in state["gone"] for s in range(state["n"])]
    log.event(state, "pass", step=k + 1)
    if all(state["done"]):
        _next_step(state, now)

The unfolding#

The host turns the corpses (next, with the corpse it was pressed on, so a double press moves on once). If nobody does for 600 seconds the table turns by itself, so a round can’t stall for good. Who drew each part is in the view only once its corpse is unfolded.

The votes#

Two votes each: a favorite corpse, any, and a favorite part, not your own. Either can be skipped. Votes are secret until the last is in, or the host ends the vote; a tie is shared.

tables/exquisite_corpse/rules.py_count · lines 351–367
def _count(state: dict) -> None:
    """The favorites: the most votes, a tie shared by everyone in it."""
    corpses, parts = {}, {}
    for b in state["votes"].values():
        if b["corpse"] is not None:
            corpses[b["corpse"]] = corpses.get(b["corpse"], 0) + 1
        if b["part"] is not None:
            key = tuple(b["part"])
            parts[key] = parts.get(key, 0) + 1
    state["favorites"] = {
        "corpses": _tops(corpses), "parts": [list(k) for k in _tops(parts)],
        "corpse_votes": {str(c): v for c, v in sorted(corpses.items())},
        "part_votes": [[c, q, v] for (c, q), v in sorted(parts.items())],
    }
    state["phase"] = "over"
    state["why"] = "voted"
    log.event(state, "favorites", corpses=state["favorites"]["corpses"], parts=state["favorites"]["parts"])

What’s kept#

A round is kept only once its votes are counted (counts). Nobody wins: every seat is placed first with nothing scored (result says nobody, so it counts as no one’s win), and the round is never rated (rated = False, read by ratings.sources). What each seat earned toward its medals goes in the result’s detail:

tables/exquisite_corpse/rules.pymarks · lines 543–557
def marks(state: dict) -> dict:
    """What each seat earned toward its medals this round (awards.rules.MARKS):
    "favorite-part" for drawing a favorite part, "favorite-corpse" for drawing
    any part of a favorite corpse. A tie counts for everyone in it."""
    out: dict[int, set] = {}
    fav = state["favorites"] or {}
    for c, q in fav.get("parts", []):
        s = state["by"][c][q]
        if s is not None:
            out.setdefault(s, set()).add("favorite-part")
    for c in fav.get("corpses", []):
        for s in state["by"][c]:
            if s is not None:
                out.setdefault(s, set()).add("favorite-corpse")
    return {str(s): sorted(m) for s, m in sorted(out.items())}

Every part is kept with the round, grouped by its corpse (drawings), for as long as the account (keep_for = None). The kit’s gallery page (/games/exquisite-corpse/history/drawings/) wears this game’s own template (gallery_template): Your corpses, each corpse’s parts joined top to bottom with who drew each, Download image, and a link to each game’s drawings page for the kit’s take-downs.

The contract#

The shared TableGameContract plays whole rounds with simulated people (“sim”), as Bowl’s does: nobody plays against bots. Its scramble changes others’ ballots and who drew the parts still folded.

Your move#

Your move, the first time. Drawing your part and voting: the first time each is yours in this browser, the house’s Your move card names it (Draw your part, Pick a favorite) and says what to do (“Draw your part of the body…”, “Pick a favorite part that isn’t your own.”), 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 exquisite-corpse:draw, exquisite-corpse:vote).

The table waits on a step and on the vote (holds_up), so a seat whose page is quiet gets a notification: “Your part to draw: the legs.” (notice).

Someone away#

With no clock, one drawer whose phone has gone quiet would hold up every corpse, so the room’s away rule for games with no bots applies (Tables, David’s D11). away_turn says a seat’s part is what the step waits on; the host’s seat bar warns at 20 seconds, with Wait for them, and at the away time away_pass sends their part as it stands (blank if they hadn’t started), as Hurry up does, logging away_pass (“Ben was away, so their part went as it was.”). While they’re still away, later steps do the same once the away time has passed. The vote doesn’t wait for them: away skips their votes (what they’d picked already counts). The bar sits in its own slot under the top bar (seatBarIn, .ecseatslot), since the table has no dock. Back again, they draw their next part as usual. (The lead’s call for David, 2026-11-12: built as recommended, option (a).)

tables/exquisite_corpse/rules.pyaway_pass · lines 436–446
def away_pass(state, seat, now):
    """An away drawer's part goes as it stands, blank if they hadn't
    started, and the fold moves on, as Hurry up does (the lead's call for
    David, 2026-11-12, recommended (a)). While they're still away, each
    later step does the same once the room's away time has passed."""
    if not away_turn(state, seat):
        return
    state["done"][seat] = True
    log.event(state, "away_pass", seat=seat)
    if all(state["done"]):
        _next_step(state, now)

Secrets#

  • A part being drawn: only its drawer’s page is sent its strokes (sees: "drawer"), and a watcher sees none.
  • The parts beside yours: only their strips (the kit cuts them).
  • A finished part: folded away until its corpse is unfolded (can_see).
  • Who drew what: in the view only as each corpse unfolds.
  • Votes: only your own ballot is in your view, until they’re counted.

Bots#

None (ADR 0031). A seat someone leaves steps aside.

Trophy Case#

Its count medals count marks, not wins (awards.rules.MARKS): a part you drew voted the favorite and part of the corpse voted the favorite, each bronze, silver and gold. A kept round is never a win, so it counts toward no win medal and never ties for first. Signed-in players only.

Rating#

None: there’s no winner.

The interface#

From 900px the roster and Hurry up are the side card’s alone (the left column’s phone copy showed beside it, twice, until 2026-11-21). On the narrowest phones (360px and under) the bar’s title gives way on one line, with an ellipsis, as a table’s title does there: beside talk it has 50px, and “Exquisite” alone is wider, so wrapping ran it under the smiley (the details check, 2026-11-21).

Drawing your part#

Your part fills the screen’s width at 4:3, the kit’s tool tray under it (on a laptop, at the left), with Done. Above and below it the strips of the parts beside it peek in, faded, past a dashed fold; a part nothing’s drawn beside yet says where the next drawer will join on. After Done, your part stays on screen with Not done yet, and the chips say who’s still drawing. The host has Hurry up; then a yellow banner counts down on every screen.

The unfolding#

One corpse at a time, on every screen together: each part opens from the top, redraws itself in about 3 seconds, and shows who drew it (on a phone as a tag on the part, on a laptop beside it). Then “Here it is!”, Download image for anyone, and the host’s Next corpse. A late arrival, or reduced motion, sees each corpse whole.

The votes and the favorites#

A gallery of the round’s corpses: tap one, then Vote; then tap a part (your own are marked Yours) and Vote. Then the favorites with their ribbons and votes, who earned a medal, every corpse with Download image, and the host’s Another round or End the game.

Its look#

Exquisite Corpse’s personality, in the design system’s personality sheet.

Family Board and party: the room kit in a look of its own, people only, checked on phones.
Palette Ink #26243a on heavy white paper #fffdf8, on a slate-blue desk #d9dee7; the one fill, ink blue #2d3576; favorites and yours, highlighter yellow #ffd84a. The drawings use the kit’s own eight colors.
Faces Fraunces for titles; Figtree for everything read or pressed
Corners and edges Panels 14px, buttons 10px; the paper’s corners nearly square, its folds dashed creases with a soft shadow under each
Board The folded sheet: your part, the strips beside it, the paper’s back for parts still folded
Emblem and art Its box on the shelf: an unfolded sheet with a cat’s head, a striped sweater and duck feet
Voice Corpses, parts, folds; “Draw the legs”, “Not done yet”, “Here it is!”
Payoff The unfolding, and the favorites’ ribbons
The glance Your part, biggest; who’s still drawing; on the unfolding, the corpse and who drew each part
Exceptions Its end is the favorites on the table, not the house’s result sheet: the corpses are what everyone wants to see, and the host’s Another round is there.

Testing#

tests/test_exquisite_corpse.py has the rules as sentences: the folds and starts, passing, the pads and their edges, Hurry up, leaving, the unfolding, the votes and what’s kept, then the contract.

npm run check:exquisite-corpse:play (tools/exquisite-corpse/play.mjs) plays a round of three phones in headless Chrome, drawing real strokes: the edges each part shows, Hurry up, the unfolding, both votes, the favorites and Another round. --shots dir keeps a picture of each screen.

The playtest’s Test it stages a table at a moment with tools/exquisite-corpse/stage.py (first, middle, unfold, votes). The other seats are people who never move, so the tool draws and votes for them; on both devices (ADR 0111), the playtest names the phone’s seat in UO_STAGE_PEOPLE, and the tool leaves it its own part to draw and its own vote.

Changing it#

To… You need
Change a rule rules.py, docs/exquisite-corpse.md and How to play (games/rulebooks/exquisite-corpse.md) together, and a test.
Show more or less of the parts beside yours SHARE, one line.
Change Hurry up HURRY.
Change the parts’ shape ASPECT (the kit takes 1:4 to 4:1); the table’s sizes follow it.
Change the medals awards.rules.MARKS; marks() says who earned which.

Known limitations#

  • Someone who leaves leaves blank parts. Their later parts aren’t redealt.
  • Hurry up is for everyone left. It can’t pick one player.