Skip to content
Coulby Studio

Creative lab

Entre Nous.

A conversation experience across several screens. A shared screen leads the game, a phone serves as the remote, and nothing that is said is ever recorded.

State
Late prototype
Updated

Product vision

Entre Nous is a conversation game for friends, for people getting to know each other, or for a couple. Answers stay spoken. I left out accounts and scores, nothing is kept, and everyone has an explicit right to pass.

The shared screen can be a phone lying on the table, a computer or a television. With a television, a phone becomes the remote, and that is where the engineering starts.

The problem

I wanted to turn an ordinary evening into a guided conversation without asking anyone to install anything or create an account, and without ever recording what people share. That privacy is part of the product itself.

The technical constraint is an unusual one. Two devices have to share a single state over an unreliable home network, the interface has to stay readable from three metres away, and the remote must never apply the same command twice.

My contribution

I designed the game and its rules, along with the editorial charter of the catalogue, which sets the audiences, the depth levels and challenges that humiliate nobody. I also designed the multi-screen architecture and the pairing and approval protocol, then carried out the testing on real devices.

The implementation was carried out with AI coding agents, under my direction, and the product and security decisions stayed mine.

Architecture & engineering

Everything lives in a single Next.js application, organised by domain: the game engine, the question catalogue and the application layer. The engine is pure and deterministic. It always follows the same order and progression and depends on nothing from rendering, which means it can be tested without a browser. The application offers three views: a local game on one device, a television display and a remote on a phone.

Cards form a single union of four kinds, and the kind stays distinct from the theme. Local saves are versioned, with a migration from one version to the next.

For the multi-screen game, session state is authoritative on the server, in a managed Redis. Clients poll it at a fixed interval: this is periodic polling, not pushed real time.

Pairing works like this. The television opens the session and shows a QR code that holds nothing but a URL, along with a short-lived code. The phone submits that code and waits for the television to approve it explicitly. A revocable token is then issued, and a newly approved phone replaces the previous one.

Every command carries a unique identifier and runs inside an atomic server-side script, which keeps a bounded list of commands already seen and a revision counter. The whole thing is served under a strict content security policy with a per-request nonce, and a service worker allows offline use.

Technical challenges

Most of the surprises came from the home network and from television browsers. On a network that drops packets, “next card” can arrive twice; the command identifier and atomic execution make sure it is applied once. A race could also occur between a phone joining and the code rotating, so the code and the session are now validated together, in the same atomic operation.

I ran into an encoding trap: the server-side scripting layer encoded an empty array as an empty object. The bug only showed up on the first game. A dedicated encoding helper and a written rule fixed it. Against brute force on the short code, a counter limits attempts per address and per time window.

Then there were the television browsers. Dropdowns would not open, the picture overflowed the screen and the cursor stayed visible. I replaced the dropdowns with radio buttons, fitted the layout to the area actually visible, and ran a test session on a real television.

Design decisions

Four written decisions shape the project, and each was taken by weighing what it would cost to run. I kept Next.js end to end, with no monorepo, because there is one application for one domain. The deterministic local engine and the authoritative server state are kept apart: the game works on its own, and synchronisation is added to it without the game depending on it.

For this version I preferred periodic polling to a managed real-time service, leaving the migration open. The measured latency stayed comfortable for a game where a card turns about once a minute. I also chose a single union of cards over four parallel types, which spared me rewriting the existing catalogue.

Keeping no score and no answer is a product decision, and it happens to simplify the architecture as well.

Technology stack

There are few dependencies and no relational database, since session state is ephemeral by design.

  • Application: Next.js, React, TypeScript.
  • Shared state: managed Redis, atomic server-side scripts.
  • Interface: QR code, restrained animation, a layout designed for television.
  • Quality: Vitest, Playwright, automated accessibility checks, continuous integration with a Redis service.

Lessons learned

When choosing between polling and a pushed channel, usage is what counts. For one card a minute, polling is enough and costs far less to run.

Testing has to happen on the real device. The television showed me problems that no simulator revealed, and those were precisely the ones that spoiled the evening.

Keeping the game rules pure and separate from rendering means progression and the catalogue can be tested without a browser, and they are.

What’s next

The product works, but it is still a late prototype. The decision to open it to the public has not been taken, so there is no public link.

Before that, I need to finish manual testing on other phones, with screen readers and on other television models, and to review the question catalogue before any opening. A containerised deployment is planned. Moving to a pushed channel remains possible, should usage ever justify it.