This quiz is about the history of tata motors. It is basically CLI app using node js.
-
Play Game.
-
High Score.
-
Help
-
-
Enter [1] to navtigate in play game options.
-
Now, quiz start with 5 questions. This quiz is of MCQ type for each questions 4 options is set. For choosing the correct option you have to press number between 1-4.
-
Once, the option is choose and your answer is right it increases the score by 2.
-
If the option selected is wrong the score is same.
-
After answering all the questions, final score is displayed, number of correct answer and number of wrong ans.
-
User is new and created the high score then it congrats that user.
-
User play again an create new score then that user score is updated with new high score.
-
After that user is ask to go back to main menu, if user select yes then he/she can option the option again.
-
User choose no then:-
-
If the score is greater than 6, then user is asked to play the quiz again if he/she want.
-
If the score is less than 6, then user is asked if he/she wants to know the right answer or not. >> - If user select yes for right answer then all the right answer is displayed. >> >> - If user select no then, user is greeted by message.
-
-
User has to email the screenshot, to update his/her name in the High Score.
-
-
- Enter [2] to navtigate in High Score options.
- Top 5 high scorer name is viewed.
-
- Enter [3] to navtigate in help options.
- Rules of the quiz.
- How to play.
-
- CHALK, a terminal styling library is used to style this whole app an make it look beautiful.