FlashCards is a trivia game in which players are asked different questions with the provided multiple choice answers. Players have to get as many correct answers as possible. By the end of the round players get a result displayed as a percentage of the correct answers.
Clone down the repo (from your GitHub):
git clone [remote-address]
Install the library dependencies:
npm install
Once you have cloned the repo, change into the directory and run:
node index.js
You will be prompted for your first qquestion with the answers:
Welcome to FlashCards! You are playing with 30 cards.
-----------------------------------------------------------------------
Node server running on port 3000
? What allows you to define a set of related information using key-value pairs?
1) object
2) array
3) function
Answer:
You will be given a feedback once you choose the answer. When you complete the game you will get the message which will tell you the final score.
** Round over! ** You answered 73% of the questions correctly!
- Terminal
- JavaScript
- Mocha
- Chai
- ESLint
Olga Morgan
GitHub Profile