Skip to content

jfklorenz/Card-Deck-Package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deck of Cards

NPM

Status GitHub top language npm npm NPM

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.

  • Single playing Card
  • Set of Cards

Tests

The __ tests __ folder contains test cases for the source code.

  • Single playing Card
  • Set of Cards

Each implemented method was tested. Therefor this project achieves 100% test coverage.