@abdul_waheed/quiz-project
v1.0.1
Published
An interactive quiz application that challenges users with multiple-choice questions, providing an engaging way to test and enhance their knowledge
Downloads
3
Readme
Quiz Game
A simple quiz game CLI application built with Node.js. Test your knowledge with multiple-choice questions from various categories.
Features
- Fetches questions from the Open Trivia Database API.
- Displays questions one by one with multiple-choice answers.
- Calculates and displays the final score at the end of the quiz.
Installation
- Clone the repository:
git clone https://github.com/your-username/quiz-game.git
- Navigate to the project directory:
cd quiz-game
- Install dependencies:
npm install
Usage
- Start the quiz:
npm start
- Enter your name when prompted.
- Answer each question by selecting the correct option from the list.
- See your final score at the end of the quiz.
Technologies Used
- Node.js
- Inquirer.js for interactive command-line prompts
- Chalk for styling the CLI output
- Node-fetch for making HTTP requests to the API