A simple quiz game CLI application built with Node.js. Test your knowledge with multiple-choice questions from various categories.
- 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.
- 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
- 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.
- Node.js
- Inquirer.js for interactive command-line prompts
- Chalk for styling the CLI output
- Node-fetch for making HTTP requests to the API