@abdul_waheed/quiz-project

1.0.1 • Public • Published

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

  1. Clone the repository: git clone https://github.com/your-username/quiz-game.git
  2. Navigate to the project directory: cd quiz-game
  3. Install dependencies: npm install

Usage

  1. Start the quiz: npm start
  2. Enter your name when prompted.
  3. Answer each question by selecting the correct option from the list.
  4. 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

Author

Abdul Waheed

Readme

Keywords

none

Package Sidebar

Install

npm i @abdul_waheed/quiz-project

Weekly Downloads

2

Version

1.0.1

License

ISC

Unpacked Size

18.8 kB

Total Files

5

Last publish

Collaborators

  • abdul_waheed