croupier
v3.0.2
Published
A library written in Typescript to create and handle a deck of playing cards
Downloads
9
Maintainers
Readme
Croupier
A libary written in typescript for representing a pack of cards
Usage
import { Deck } from 'croupier';
const deck = new Deck();
console.log(deck.Count);
const handOne = deck.take(2);
console.log(deck.Count);
console.log(handOne);