This application implements a basic flash card game where the user is prompted with a question and then shown the correct answer. The right and wrong answers are tallied up and the total is displayed at the end of the game.
The complete list of questions and answers for this application is inside the questions.js file. The flash cards are constructed with the ClozeCard
constructor defined in flashCards.js. You can find some tests checking the functionality of the flash cards inside the flashCardTrainer.js file.
To install the application, first clone this repository:
git clone [email protected]:angrbrd/flashcard-generator.git
Then install the inquirer package for command line interaction.
npm install inquirer
To run the game execute the following command:
node flashCardApplication.js
Enjoy!