/flash-cards

Command Line Flash Card Game

Primary LanguageJavaScript

FlashCards


Created by: Amy Rippeto - Turing School of Software & Design Student

Objective:

FlashCards is a game played in the command line. The game is written in JavaScript implementing OOP and TDD. I used the testing framework Mocha and assertion library Chai.

Image of Game Start

FlashCards start image

Example of Game Play

FlashCards example gif

Install and Play the Game

  1. Clone this repository.

  2. In your terminal command line change into the cloned directory and install the library dependencies.

npm install
  1. Next start the game by running:
node index.js
  1. The first question will appear, with possible answers.

  2. Use your arrow or number keys to select your guess then hit enter.

  3. The result of your guess will be shown, then hit enter to show the next question.

  4. When you have answered all the questions you will see the percentage of correct answers and total time to complete the round.