Deck of Cards
This is a Javascript package implementing a single playing card and a set of playing card representing either a deck or a hand.
A single card can conveniently be generated via several input methods.
A set of cards can be shuffled, while cards can be added or removed. All information about suits or their respective distributions is easily accessible.
Features
The features folder contains the source code.
- [x] Single playing Card
- [x] Set of Cards
Tests
The __ tests __ folder contains test cases for the source code.
- [x] Single playing Card
- [x] Set of Cards
Each implemented method was tested. Therefor this project achieves 100% test coverage.