An open API service indexing awesome lists of open source software.

https://github.com/emobe/croupier

A croupier for use with playing card games.
https://github.com/emobe/croupier

cardgame javascript typescript

Last synced: 4 months ago
JSON representation

A croupier for use with playing card games.

Awesome Lists containing this project

README

        

# Croupier

### A libary written in typescript for representing a pack of cards

## Usage

```typescript
import { Deck } from 'croupier';

const deck = new Deck();
console.log(deck.Count);

const handOne = deck.take(2);

console.log(deck.Count);
console.log(handOne);
```