Skip to content

quiz game where users can answer questions, see their scores, and compete with others in real-time

Notifications You must be signed in to change notification settings

anisirji/Realtime_Multiplayer_QuizApp

Repository files navigation

Multiplayer Quiz App

This is a simple multiplayer quiz game built with Socket.IO and Express. Users can connect, answer quiz questions, and compete in real time. The application features a leaderboard that updates after each submitted answer.

Deployed

Features

  • Real-time Multiplayer Quiz:
    • Users can connect to the quiz server and answer real-time questions.
  • Leaderboard:
    • A leaderboard keeps track of each user's score and updates dynamically.
  • User Joining:
    • Users can join the quiz by providing a username.

Setup

  1. Install Dependencies:

    npm install
    
  2. Run the Server:

    npm start
    
  3. Access the App:

    • Open the folder QuizAppFroentend then open index.html in any browser to access the quiz app.

Usage

  • Connect to the Quiz:

  • Open the app in multiple browser tabs or devices.

  • Join the quiz by providing a username.

  • Answer Questions:

  • Submit answers to quiz questions.

  • Compete and View Leaderboard:

  • See your score and compete with other connected users in real-time.

Tech Stack

The Multiplayer Quiz App is built using the following technologies:

  • Node.js:

    • The server-side environment for running JavaScript code.
  • Express:

    • A minimal and flexible Node.js web application framework used for building the server.
  • Socket.IO:

    • A library that enables real-time, bidirectional, and event-based communication between the server and clients using WebSockets.
  • HTML/CSS/JavaScript:

    • Front-end components and user interface are developed using these core web technologies.
  • GitHub:

    • The source code and project files are hosted on GitHub for version control and collaboration.

Dependencies

  • Express:
    • A web application framework for Node.js.
  • socket.io:
    • Enables real-time communication between clients and the server.
  • nodemon:
    • Monitors for any changes in your source and automatically restarts the server.

Contributing

  • If you'd like to contribute to developing this quiz app, feel free to fork the repository and submit pull requests.

License

  • This quiz app is open-source and available under the MIT License.

About

quiz game where users can answer questions, see their scores, and compete with others in real-time

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published