I promised my family a Christmas quiz and then realized that writing 60 good questions is the actual work. So I treated it as a small data and state problem and built the host flow into one HTML file.

What I wanted

  • Six rounds of ten questions: traditions, songs, movies, food, the world, Santa.
  • Answers hidden until the host taps reveal.
  • Pass-and-play scoring for 1 to 4 teams.
  • State saved in localStorage so you can stop mid-game and finish tomorrow.
  • No account, no server, works offline.

Small design notes

  • The question set is plain data validated at build time: no duplicate questions, no missing answers.
  • Scores are derived from a per-round log of right/missed marks, so undo is just popping the log.
  • Where an answer is legend rather than record, the answer text says so instead of pretending.

Hosting tips that matter more than the code

  1. Pick rounds in advance. A full game with a chatty group runs 45 to 75 minutes.
  2. Rotate who reads. The quizmaster should not be the best player.
  3. Decide the tie-break rule before the game, not during it.

If you want the finished version: https://nortiq-tools.surge.sh/ai-xmastrivia/

How do you run yours, with teams or free-for-all?