A two-player card game played in the browser. You lay cards on your own 8 × 4 mat, link them into constellations, then trace a path through a constellation to fire every card on it.
Game design by Jamie. Created in T3 Code.
The table has three views: your mat close up, theirs, or both at once with condensed cards. Hover a card in any of them to read it in full.
- Play one card a turn onto your own mat: upright, reversed, or face down as a blocker.
- Cards link through ports. Two face-up cards in the same row or column link when their ports face each other and nothing sits between them, however far apart. Linked cards form a constellation.
- Invoke a constellation by tracing a path through it. Every card on the path fires in order. A constellation's power sets how long the path can be.
- You never link to the other mat. You win races and break theirs with effects that move, flip, swap and destroy cards, or by planting a face-down card in the gap of a long link.
- Where a card sits matters. Some cards act on their whole row or column, reward a leap across empty cells, slide to the far edge, or care about edges and corners.
- Every deck has its own win condition, a Great Work both players can see from the start.
77 cards: 54 lesser cards across four suits (Ember, Tide, Root, Veil), 15 suitless majors and eight Great Works. The frames are drawn as coloured pencil; the pictures are gouache paintings laid stroke by stroke by an offline painter in this repo.
- Real-time rooms by code, with reconnect, rematch and spectators
- A practice bot that runs in the browser with no server
- Eight preset decks, a deck builder, and rules variants (mat size, flip cost and more) per room
- Keys under the left hand for every action, so the other stays on the mouse
- A pure, deterministic rules engine with a seeded RNG, shared by client, server and bots
- A headless CLI that plays, soaks and screenshots games
- Bun workspaces, driven by Vite+ (
vp) - TypeScript and Effect v4: services,
Schemafor every wire and storage type, errors as values - SvelteKit and Svelte 5 for the client
- Effect RPC over WebSockets; Postgres as the source of truth and, through LISTEN/NOTIFY, the pub/sub between server instances
vp install
vp run dev # web dev server; /practice needs no game server
vp run stack -- --multi # Postgres + two server instances + production web, prints URLs
vp run play -- help # headless CLI: play, bots, soak, screenshots
vp run ready # format, lint, type-check, every test, then every build| Path | What |
|---|---|
packages/game |
Rules engine, card pool, decks, bots. No IO |
packages/protocol |
RPC group and wire schemas |
packages/card-art |
Card renderer (SVG), the painter and the painted art |
apps/server |
Real-time server |
apps/web |
SvelteKit client: lobby, rooms, Library, deck builder, Design Lab |
tools/play |
Headless CLI for people and agents |
The rules and the reasoning behind them are in docs/DESIGN.md. Each package has its own README.












