ashton-huxtable / flashcards-starter

Flashcards starter kit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FlashCards Game

Abstract

FlashCards is a project that was created in order to simulate a deck of flashcards in your terminal. Once the necessary data files have been downloaded, a player should be able to run the commands in the terminal to see a question, choose and answer, and find out if they are right!

How it Runs

recording (3)

Technologies Used

  • JavaScript
  • Mocha
  • Chai

Install and Setup

Clone down this repo.

git clone [remote-address]

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

npm install

Running node index.js should start the game!

  • You should be prompted with a question.
  • Three answers will be populated below and one will be highlighted.
  • Use the arrows on your keyboard to toggle through the answers. Once the answer you want to use is highlighted, press enter to select it.
  • A message will pop up telling you if it is correct or incorrect!
  • Press enter again to see the next question and repeat!

NOTE: There are 30 questions in the deck. Once you have run through all the questions a message will pop up telling you how many you got right. It will also exit the game for you. If at any point you want to exit the game, press ctrl + c and you will be taken out of the game.

About

Flashcards starter kit


Languages

Language:JavaScript 100.0%