Flashcards is a question and answer game fully playable on the command line. One goal of this project was to practice utilizing larger datasets using class to class interaction. Another goal was to practice building unit tests in tandem with implementation code using the Mocha framework and Chai test library.
- Javascript
- Mocha/Chai
To play Flashcards and study facts about iterator methods:
- Clone this repo to your local machine
cd
into the directory- Run
npm install
on the command line - Run
node index.js
to start the game
A challenge of Flashcards was to think ahead of implementation to be able to write effective and useful tests. It was a really great exercise for zooming out my mindset to think big picture and slowing down the development process.
I am proud of how I approached the last iteration, i.e. connecting all the pieces I built together via the Game class. I was a bit unsure of how to start, but I was able to explore and work my way through it with curiosity, yielding great results!