/flashcards

Flashcards starter kit

Primary LanguageJavaScript

FlashCards Game

Abstract

FlashCards is a learning project built into a game! Using basic keyboard controls through the command line interface, the user can test their knowledge over array prototypes and objects! The game goes through thirty different cards. Each card will ask the user a question. The user is presented with three answers to choose from. Once the user chooses an answer, the game will return feedback on whether the answer chosen is correct! It will display the correct answer if the user answers incorrectly! After the user completes the deck, the game returns the percent of correct answers that the user answered and will also show the time it took to play. What a fun way to spice up some dense information!

How it Runs

start game

Technologies Used

  • JavaScript
  • Mocha 6.1.4
  • Chai 4.2.0
  • Eslint 5.16.0
  • Atom Text Editor
  • Inquirer 6.3.1

Install and Setup

  • Fork this repository
  • Clone this repo
  • From the terminal, navigate into the cloned repository and install library dependencies by running the command npm install in your terminal
  • Launch the application by entering the command node index.js
  • Use the up/down arrow keys to select an answer
  • Press the return key to submit answer
  • Press return to move to new flashcard
  • Continue these steps through all 30 flashcards
  • A percentage of correct answers will be given at the end of game along with the round time
  • Exit game at any time by pressing control + c

end of game