sxsphinxstack

Projects / A realtime quiz battle for your actual friends

A realtime quiz battle for your actual friends

Level 3: a month or more, real users. Use with: build-a-game, backend-basics. Resume line when done: Built {project_name}, a realtime multiplayer quiz platform — live at {url}

Brief

A live quiz in the kahoot shape, but the questions are about what your friend group actually knows: your inside jokes, your team's season, your school, your server's lore. A host starts a lobby, everyone joins on their phones with a room code and a nickname, each question goes to all screens at once, fast correct answers score more, and a leaderboard drops between questions. No accounts, just codes and nicknames. Finished means a real game night happened: four or more friends on their own phones, a winner, and demands for a rematch.

Personalize

Milestones

  1. Question format designed and 30 questions written: text, choices, correct answer, time limit.
  2. Solo quiz loop on one phone: questions appear, a timer runs, answers score with a speed bonus, results at the end.
  3. End of week one: the solo loop is deployed and you can play a full pack on your phone.
  4. Lobby backend: host creates a room and gets a code; players join with code and nickname; everyone sees the player list grow.
  5. Realtime push: when the host advances, the question appears on every phone at once (websockets, or polling fast enough that nobody notices).
  6. Answer collection: each phone submits once per question, the timer is enforced by the server, and late answers score zero.
  7. Scoring on the server: correctness plus speed bonus, no scores computed on phones.
  8. The reveal: after each question, correct answer plus a leaderboard with movement, because the reveal is where the shouting happens.
  9. Host controls that survive a real room: start, next question, skip, end game, and a podium screen for the top three.
  10. Dry run with two friends in the same room; fix the chaos you could not predict (double joins, duplicate nicknames, a phone that locked mid-question).
  11. Real game night with four or more named players; collect the complaints, fix the top two, run it again, ship.

Done means