This is a mini project called Quiz Master, which allows users to play a quiz game. The project provides a web-based interface where users can answer questions and compete to win.
To run this project, follow these steps:
- Open the project folder in the terminal.
- Run the following commands:
npm i
node server.js
node express.js
- Go to
localhost:3000/game.html
in your web browser to play the game.
- Enter your username in the input field provided.
- Click the "Start" button to begin the game.
- A question will appear on the screen.
- Type your answer in the input field provided.
- Click the "Submit" button to submit your answer.
- Wait for the result and the next question to appear.
- The game will continue until all questions have been answered.
- At the end of the game, the winner will be announced.
- Enjoy playing the Quiz Master!