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.
- 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.
-
Install Dependencies:
npm install
-
Run the Server:
npm start
-
Access the App:
- Open the folder QuizAppFroentend then open index.html in any browser to access the quiz app.
-
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.
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.
- 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.
- If you'd like to contribute to developing this quiz app, feel free to fork the repository and submit pull requests.
- This quiz app is open-source and available under the MIT License.