Skip to content
MenuClose menu

Pixel War: a live game for 2,000 players, built in two days

One of the game’s two short videos, rendered by code from its own map. In French, with sound and English subtitles.

Read what the voice says
  1. Ton département s’éteint !Your département is going dark!
  2. Tape son numéro en live !Type its number in the live!
  3. Toute la France se rallume !All of France lights up again!
  4. Mais la Nuit dévore tout !But the Night devours everything!
  5. Retape, vite ! Tiens jusqu’à l’aube !Type it again, quick! Hold on until dawn!
  6. Le tien tiendra ? Prouve-le, en live !Will yours hold? Prove it, in the live!

On screen at the end: the live is here, tap the profile picture. Type your number and relight your département.

A live game on TikTok where France plays by typing a number. You type the number of your département in the chat, it lights up on a pixel map, and you defend it until dawn. I had the idea, built it in two days and ran it live.

My role
Idea, code and live operations
Built
In under 48 hours, from the first line of code to the first live
First live
November 11, 2026
Stack
Node.js, a web page as the show screen, a synthetic voice, ffmpeg

Everyone in France knows their number.

The number of your département is on your number plate and in your postcode: 59 for the Nord, 13 for the Bouches-du-Rhône, 75 for Paris. So the whole game is one number. Nothing to install, no account to create, no rules to read.

  1. Game screen: the number 59 typed into the live chat field, under a pixel map of France that is still dark.

    Type your number

    You write 59 in the live’s chat. That is all you ever have to do.

  2. Game screen: département 59 lit in light blue on the dark map, with the word “Allumé !” (lit).

    It lights up

    Your département lights up on the pixel map of France, in its own colour.

  3. Game screen: the pixel map of France with many départements lit in different colours, each showing its number.

    The country joins in

    Every other viewer does the same for theirs. In the biggest live, 98 of the 101 départements were lit at once.

  4. Game screen: the map turns purple as the Night spreads, and a red banner says that département 59 is weakening.

    The Night takes it back

    The Night takes the lit pixels back, from the edges in. Stop writing and your département goes dark.

  5. Game screen at dawn: the sky turns gold above the map, and the départements that held are still lit.

    Hold until dawn

    If it is still lit at dawn, it scores. A night lasts under three minutes, and eight nights make a cup.

Frames from the game’s own video. No viewer appears in them.

The first night, measured.

Nothing here is an estimate. Each number is read from the game’s own record of the live of November 11, 2026, or from TikTok’s public counters.

  1. 2,242 players in one live

    Each of them typed the number of a département and joined it.

    The game’s own count, November 11, 2026

  2. 2,200 people watching at once, at the highest reading

    TikTok’s viewer count moved between about 1,600 and 2,200 while I read it.

    TikTok’s viewer count, November 11, 2026

  3. 18,883 comments in 22 minutes

    From 3,805 viewers. That is 14 a second, and every one moves the map.

    The game’s record, November 11, 2026

  4. 98 of the 101 départements lit at once

    Mainland France and the overseas départements on one map, each in its own colour.

    The game’s record, November 11, 2026

  5. 0.6 s from a comment to the game

    Measured against TikTok’s own clock. The video stream then adds its own delay before the viewer sees it.

    The game’s record, November 11, 2026

  6. 530,800 views of the video at the top of this page

    A second video stands at 235,900. Both are rendered by code from the game’s own map, with no editing by hand.

    TikTok profile @pixelwar.fr, November 12, 2026

Over that first night, 11 cups were played to the end. Martinique won 3 of them.

The path of one comment

Someone types 59. This is what that number goes through before the map changes, and what I built at each step.

  1. The chat

    The game reads the live’s comments as they arrive and keeps what it understands: the number of a département. It understood 99.2% of them.

  2. The engine

    One Node.js process plays the whole country 10 times a second: what lights up, what the Night takes back, who still holds at dawn. It has no clock of its own, so any night can be replayed exactly.

  3. The show screen

    A web page turns thousands of comments into one picture you understand in three seconds. That page is what the live broadcasts, at 30 frames a second.

  4. The announcer

    A synthetic voice greets players by name, answers their questions and warns a département when it weakens. Ask her, and she says what she is: a synthetic voice.

  5. The videos

    A tool renders the account’s short videos from the game’s own map: one command, about 15 seconds, no editing by hand. The one at the top of this page was made that way.

  6. The tests

    More than 900 automated tests, because a live cannot be paused to fix a bug.

I built it in two days with an AI coding agent. I decide, review and test; it types fast.

What broke, live.

A live cannot be paused. Two things went wrong on the first night, in front of everyone. Both were fixed by measuring first.

  1. 28%

    of taps arrived with a name

    Most taps had no name

    Viewers tap the screen to give their département energy: on TikTok, that is a like. But TikTok told the game who had tapped for 28% of the taps only, and the rest did nothing. I measured it during the live, then changed the game so that every tap in the room lands on the map: 4 times more taps counted, after a restart between two nights.

  2. 1 GB

    more memory every minute

    The computer froze, three times

    The first time, about 2,000 people were watching. I suspected my own test runs. A few lines of measurement, 10 readings a second, showed the broadcasting software’s graphics process taking more than a gigabyte of memory a minute, on a machine with 16 GB. A small watcher now warns in time; restarting that software frees the memory, and the live goes on.

Need something that has to work live?

Real-time features, a product that talks to its users, or a prototype that must survive real traffic: tell me what you are building. I reply personally.

Want a game like this for your brand, your city or your country? I build it and run it live.

Pixel War is my own project. It is not affiliated with TikTok or endorsed by it.