Skip to content
/ quiz Public
forked from shaan1337/quiz

Web-based, real-time, multiplayer multiple-choice quiz with node.js server. With Docker.

Notifications You must be signed in to change notification settings

KinanLak/quiz

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web-based, Multiplayer, Real-time, Multiple-choice Quiz with Node.js

Screenshot

Features

  • Multiplayer: Connect dozens of players from PC/mobile to participate in the quiz
  • Responsive, real-time (socket.io) web-based interface
  • Support for multiple-choice questions
  • Support images in questions
  • Participate as audience or as official participant (requiring players to use a quiz code to authenticate)
  • Participate as spectator
  • Real-time leaderboard
  • Admin control through web interface

Install dependencies

npm install

Quiz setup

  • Create a folder with your quiz name (alphanumeric, no spaces) under quizzes.
  • Create a text file named questions.txt under the new folder.
  • Write your questions in questions.txt following the same format as existing quizzes (e.g. quizzes/test/questions.txt)
  • You can also configure various parameters such as the Quiz title, Quiz logo, Admin password and Quiz code from questions.txt
  • All images need to be put under public/content/<quiz name>/

Run server

node app.js

Connect

  • Open your web browser at http://localhost:3000
  • Select your quiz
  • Authenticate as admin/official participant/audience participant/spectator

About

Web-based, real-time, multiplayer multiple-choice quiz with node.js server. With Docker.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 83.1%
  • HTML 11.5%
  • Python 2.8%
  • CSS 1.9%
  • Dockerfile 0.7%