← Home

Scene Sync

A party game for the couch. Describe a movie scene and a style, an AI writes the script, you cast your friends, and everyone acts it out from their phones. The audience has to guess which movie it is.

Say you want the diner scene from Pulp Fiction “in the style of Shakespeare”. Gemini writes it with the character names anonymized, so nobody gets a free clue. You hand out the parts, each phone shows its player their lines, and the room performs it. Whoever names the movie first earns a point. The “hard” setting picks obscure lines and is worth two.

Source on GitHub →

How a round works

Screens

Prompt: pick a scene, a style and a difficulty.
Act: your lines are highlighted on your own phone.
Score: the prompter awards the point.

Illustrative mockups of the interface, not live captures.

Run it yourself

  1. Install Node.js and get a Gemini API key. You need a Cloudflare account to host it.
  2. Clone the repo and install.
    git clone https://github.com/bobsabayesian/movie-night.git
    cd movie-night
    npm install
  3. Put your key in worker/.dev.vars as GEMINI_API_KEY=..., and set "DEV_ADMIN": "1" in worker/wrangler.jsonc for local use only.
  4. Start both servers.
    npm run dev:worker
    npm run dev:web
  5. Open /admin to create a lobby. Friends scan the QR code or open /lobby/<id> on their phones.
  6. To host it, set the key with wrangler secret put GEMINI_API_KEY, run npm run deploy -w worker, and protect /admin* with Cloudflare Access.

It runs on a Cloudflare Worker with a Durable Object for the live lobby (WebSockets), a React front end, and Gemini for the scripts. Each scene is a paid Gemini request.

–Bob