Skip to content
/ croupier Public

A croupier for use with playing card games.

Notifications You must be signed in to change notification settings

Emobe/croupier

Repository files navigation

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);