Active

Veillée

Veillée (皮匠不许赢) is a phone web app that hosts One Night Ultimate Werewolf and The Resistance: Avalon at the table: it reads the host lines, times the night and the discussion, and keeps Avalon's score. Cards stay physical; the app never knows who holds which role.

Veillée

At the table

One phone on loudspeaker hosts two physical games: One Night Ultimate Werewolf (base game, 3 to 10 players) and The Resistance: Avalon (classic, 5 to 10 players). Cards are dealt by hand. The app reads the host lines, times the night actions and the discussion, and for Avalon keeps the public score: teams, votes, quests, the assassination, corrections. It never knows anyone's identity.

Playback works like a media player: pause and resume anywhere, tap a line to jump to it, and follow the full script as scrolling lyrics with the current role shown. Once the voice pack is downloaded, a game runs offline (service worker and verified Cache Storage).

Rules engine

A deterministic rules engine compiles the host script for every legal role setup: 9,254 for One Night and 72 for Avalon, each covered by tests. No language model decides anything during a game.

The script comes in a concise and a detailed style. Lines can be removed, pauses changed and custom lines added; a custom line is generated on the server in the same voice and stored only on the phone.

Voices

There are two complete voice packs, a male judge and a female storyteller, 187 lines each, synthesized with OpenAI gpt-audio-1.5. Every line was checked: a signal check, two transcription models and a listening pass by an audio model.

Rules guides and assistant

A rules guide is generated for each configuration, with its sources cited. A rule details page lists the 22 points where sources or tables disagree and gives the basis for each option. French card names can be shown beside the Chinese ones for cross-reference. The interface is in Chinese.

An assistant answers rules and usage questions. It runs on Claude Sonnet 5.5 with the whole knowledge base in a cached prompt, and is gated by an evaluation set.

Build

TypeScript, Preact, Vite, three.js, Web Audio and a service worker; Python services for speech and chat behind nginx; 619 Vitest tests and Playwright scenarios. The characters are original illustrations, and each game opens with a cinematic intro of about 11 seconds, built from three.js relief meshes on depth maps.

An independent project, not affiliated with Bézier Games or Indie Boards & Cards.