QuizMaster CLI
Welcome to QuizMaster CLI! This is a simple CLI-based quiz game that shows students multiple choice questions, prompts them to reply, and displays the quiz results at the end.
Installation
You don't need to install this package globally. You can use it directly with npx
.
npm i -g quizmastercli
npx quizmastercli
How to Play
- Run the following command to start the quiz:
npx quizmastercli
Example
npx quizmastercli
Welcome to QuizMaster CLI! Get ready to test your knowledge.
Question 1:
What is the capital of France?
A) Madrid
B) Berlin
C) Rome
D) Paris
Your answer: D
Question 2:
Which planet is known as the "Red Planet"?
A) Venus
B) Mars
C) Jupiter
D) Saturn
Your answer: B
...
Quiz Results:
You answered 8 out of 10 questions correctly. Well done!
Thanks for playing QuizMaster CLI!