This program implements a simple flashcard quiz using the command line interface. Users can add flashcards with questions and answers, shuffle them, and quiz themselves. The flashcards are stored in a predefined set.
- If you want a fresh set of flashcards empty
flashcards.jsonto look likt this:
{
}
At least one flashcards must be made to start the program
{
"Key": { <== Key can be anything as long as it does conflict with other keys
"Question": "...", <== must have a comma
"Answer": "..."
}
}
Recommended json:
{
"Flashcard/Question 1": {
"Question" : "Qusetion...",
"Answer" : "Answer"
}
}
- you can do
main.exe -file filename.jsonleave for flashcards.json
- Run the program.
- Choose whether to add a new flashcard.
- If adding a flashcard, enter the question and answer.
- If not adding, proceed to the flashcard quiz.
- Answer the questions displayed on the screen.
- The program will clear the terminal after each flashcard.
- Once the quiz is completed, the program will exit.
- New sets must be manually made via making a file called filename.json
- Slowly working on making this a localhost website