card-deck-package

1.0.0 • Public • Published

Deck of Cards

Status GitHub top language GitHub

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.

Dependents (0)

Package Sidebar

Install

npm i card-deck-package

Weekly Downloads

4

Version

1.0.0

License

MIT

Unpacked Size

42.5 kB

Total Files

12

Last publish

Collaborators

  • jfklorenz