GALemmon / flashcards

Flashcards starter kit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FlashCards Project

This is a simple terminal based game designed to test and reinforce a basic knowledge of javaScript vocabulary.
It is text based and uses simple controls to move through a deck of flashcards.

The primary learning objective of this program was to introduce the class to TDD (test driven design) practices.
Each of the component .js files was tested using Mocha and Chai.

Setup

Clone down the repo (from GitHub).

Once you have cloned the repo, change into the directory and install the library dependencies. Run:

npm install

To verify that it is setup correctly, run npm test in your terminal. You should see a number of passed tests.

Running node index.js from the root of the project should result in the following message being displayed in your terminal:

Your project is running...

Followed by the first question. You will be prompted for each question, have the opportunity to select an answer (using numbers or the arrow keys followed by enter), and will be given feedback. You will be able to play through the entire deck of cards:

flashcardExample

About

Flashcards starter kit


Languages

Language:JavaScript 100.0%