8000 GitHub - dominicva/trek-trivia · GitHub
[go: up one dir, main page]

Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

7 Commits

Fold A8A8 ers and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trek Trivia 🖖

A proper in-depth Star Trek quiz for The Next Generation, Deep Space Nine, and Voyager — real questions about the actual episodes and lore. No actor gossip, no celebrity trivia. Just the good stuff: the Battle of Wolf 359, "In the Pale Moonlight", and why nobody talks about "Threshold".

Wrapped in an LCARS-inspired interface, because of course it is.

Features

  • 292 hand-written questions across TNG, DS9, and Voyager
  • Every answer comes with a lore explanation — getting one wrong still teaches you something
  • Two-player head-to-head mode (pass and play, alternating questions) or solo
  • Three difficulty tiers: Cadet, Officer, and Command
  • Filter by series, pick your quiz length, and get an assessed Starfleet rank at the end
  • Keyboard play: keys 1–4 to answer, Enter for next
  • Zero dependencies, no build step — plain HTML/CSS/JS

Running it

Just open index.html in a browser. That's it.

Or serve it locally if you prefer:

npx serve .
# or
python3 -m http.server

It also works out of the box on GitHub Pages: Settings → Pages → deploy from branch.

Adding questions

Questions live in per-series files under js/questions/ (tng.js, ds9.js, voy.js), combined by js/questions.js. Each entry looks like:

{
  series: "TNG",            // TNG | DS9 | VOY
  difficulty: "medium",     // easy | medium | hard
  q: "The question text?",
  options: ["Right answer", "Wrong", "Wrong", "Wrong"],
  answer: 0,                // index into options (they get shuffled at runtime)
  explanation: "The lore context shown after answering."
}

Pull requests with good deep-cut questions welcome. Qapla'!


A fan-made project. Star Trek and all related marks are trademarks of Paramount. This quiz is a non-commercial homage. Live long and prosper.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0