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);
import { Deck } from 'croupier';
const deck = new Deck();
console.log(deck.Count);
const handOne = deck.take(2);
console.log(deck.Count);
console.log(handOne);
npm i croupier
4
3.0.2
MIT
13.5 kB
21