← Back to the project on the home page
TchekQuiz
Party games where the phones are the controllers and the TV is the show: Baccalauréat, Quiz and Enumeration, with the points counted by the server. In beta, with no real users yet.
- Designed and built solo, end to end
- 2026
Measured in the code
- 31
- 28
- 31,099
- 152
- 1
Measured on November 10, 2026. Structural counts, not a measure of quality.
A party game where the points count themselves
What is real?
Simulation built on the code of TchekQuiz, fictional data.
- The rules shown here come from TchekQuiz: the Baccalauréat scoring (10 points for a unique answer, 5 each for a shared one), the Quiz tiers (Cash 4, Carré 2, Duo 1, down only), the 15-second questions, the phone view and the TV view. The palette, the typeface and the logo are the game's.
- The three opponents, the words, the categories and the ten questions are made up for this demo, and their answers never change. There is no room and no real-time connection: you play alone and nothing is saved.
- The timer can run faster so the demo stays short. An unknown word scores 0 here, where the real game would put it to a vote.
TchekQuiz
The demo loads only when you ask for it.
The problem
With a dozen phones playing the same round, the hard part is fairness. Two players must not both score for the same word, nobody should see an answer before the round ends, and the TV has to stay readable from the sofa. The server is the referee, the phones are the controllers.
Baccalauréat: points that count themselves
A letter is drawn, then categories come one after the other against a common timer. Write a word before the time runs out. A unique valid answer scores 10, an answer given by several players scores 5 for each, and an unknown word or a wrong letter scores nothing. A small typo is forgiven and counted as the dictionary word. Try the same obvious word as Joss to see a shared answer.
Quiz: three tiers, down only
Each question starts at Cash: type the answer for 4 points. Tap Carré for four choices worth 2 points, or Duo for two choices worth 1 point. You can go down a tier at any time, never back up. Numbers and short answers must be exact; a typo is forgiven only from five letters.
Two screens, one game
On a computer the TV screen and the phone sit side by side. On a phone, switch between them with the buttons above. The TV never shows the right answer before the result. Everything runs in your browser against made-up players and goes back to zero when you reload.
What you can do here
- Draw a letter and fill in categories against the clock (Baccalauréat)
- See the points counted automatically, with the shared-answer rule
- Play a short quiz with Cash, Carré and Duo points
- Follow the TV screen and a player's phone side by side
- Play against made-up opponents: nothing is recorded
Stack
Next.js 16 · React 19 · TypeScript · Tailwind CSS v4 · Prisma 7 · Neon Postgres · Ably · Vercel
Context
TchekQuiz turns a living room into a game show. One person opens a room, the others join with a code or a QR code on their own phone, and a TV shows the common screen. Three games exist: Baccalauréat (find a word per category for a drawn letter), Quiz (with Simple and Challenge modes) and Enumeration. It is a finished beta that a few relatives have tried; it has no real user base yet.
The problem
With up to twelve phones playing the same round, the hard part is fairness. Two players must not both get points for the same word, nobody should see an answer before the round ends, and a late phone must not break the game. The server has to be the referee, and the TV has to stay readable from the sofa.
Constraints
- Up to twelve players per room, each on their own phone, with no account
- A TV screen that never scrolls and stays readable from far away
- Answers and correct answers must not reach the browsers before the result
- Questions and dictionary entries still have to be proofread
What I built
- Rooms with a short code, a QR code, an admin who picks the game and its options, and a player list that updates live
- Baccalauréat: drawn letters, categories one after the other, a shared timer, a dictionary check with spelling tolerance, a vote on unknown words, Race and Classic scoring, a podium
- Quiz: Simple (one point) and Challenge (Cash 4, Carré 2, Duo 1), 15 seconds per question by default, an explanation after each question
- Enumeration: turn by turn with lives, on collections such as the countries of the world
- Solo mode for the three games, with personal records kept on the device
- A back office to proofread the dictionary and the questions, and a beta welcome page with a feedback form
Key decisions
The database is the referee, the realtime service only knocks on the door
Each change of state in a game gets a version number in the database. The realtime service only tells the phones that something changed, and each phone then reloads the full state. If a message is lost, the next one fixes it. In Race mode, a database uniqueness rule guarantees that only one player can claim a given answer.
Sending the game state through the realtime channel. A dropped message would have left a phone out of sync with no way to notice.
No answer leaks before the result
The view sent to a browser never contains the correct answer or the other players' answers while a round is running. Phones send the index of the choice they saw, never its text, and the order of the choices is drawn by the server.
Hiding the answers in the interface only. Anyone opening the network tab would have seen them.
The TV is a fixed stage, scaled to the window
The TV screen is drawn on a fixed 1920 by 1080 stage that is scaled to the window, so it never scrolls and looks the same on any television. An automatic audit renders 31 TV states at two sizes to catch overflows.
A fluid layout for the TV. Twelve players, a long question and a QR code would not have fitted without scrolling.