This application has two game options. Both games are based around Hip-Hop trivia quesitons.
This version is a simple flash card game where the user is promted with a question and the user input's their guess. There are five total questions.
This version is similar to the Basic
version where the user is prompted with a question. The difference is, the answers to the questions are replaced with ...
.
This test method is Cloze Test where it challenges the user to identify the correct words that belong in the text of the question. There are 10 total questions.
- Stuck? Don't worry, we've added hint feature (cloze only)!
Follow these instructions to clone the project and run on your local drive.
You will need Node.JS installed on your system.
-
Clone project:
`git clone https://github.com/ricopella/flashcard-generator.git`
-
Inside the root directory of the cloned filed, run the following command in your terminal/bash:
`npm install`
-
`node app.js basic`
- This will start the basic quiz with one question not in cloze-deletion format
-
`node app.js cloze`
- This will start the cloze-deletion quiz
-
`node app.js`
- Will default to cloze-deletion quiz
The questions & anwers are located in the answers.js file.