A CLI flash card game that supports both basic cards and cloze cards.
{
front: 'Dilly! Dilly!',
back: 'Bud Light'
}
NOTE: Answers are not case sensitive. However, they are typo sensitive. Think of it as another chance to work on your spelling :)
{
fullText: 'Waves travel in sets.',
cloze: 'sets'
}
NOTE:
'sets'is automatically removed from'Waves travel in sets.'. This makes adding new questions easy. However, if theclozestring that you specify is not in thefullText, you will get error message warning that your question is invalid.
- Inquirer - CLI event handling