Skip to content

Trivia Mania

A trivia game with player accounts, a 30 second clock on every question, personal stats and a score board.

One of my own projects, not client work.

Project showcase

The showcase picks a difficulty, answers a geography question against the clock, and opens the stats by category.

Music Happy Beats / Business Moves, Vol. 1 by Sascha Ende, edited (CC BY 4.0).

What it is

Players sign up, confirm their email with a code, pick a difficulty and categories, and answer timed questions one at a time. Every answer counts towards their stats by category and their place on the score board.

I first built it in Next.js with questions stored in a JSON file, then moved it to SvelteKit with a real database and later gave it a full redesign. Answers are checked on the server, which keeps cheating out and the pages light.

What it does

  • Sign up with email confirmation: codes expire, work once and lock after five wrong guesses
  • Over two thousand questions, filtered by difficulty and category
  • A 30 second clock on each question, and a way to stop and continue later
  • A stats page by category and difficulty, and a top ten score board

Built with

TypeScript, SvelteKit, Sequelize, SQLite, Tailwind CSS, Vitest

More screens

  • Trivia Mania question with a 27 second clock and four answers
  • Trivia Mania start screen showing 2206 questions ready, with the chosen difficulty and categories
  • Trivia Mania stats page with answered, correct and accuracy totals and a table by category
  • Trivia Mania score board with the signed in player marked in third place

Need something like this built for your business?