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.
- Host: GitHub
- URL: https://github.com/emobe/croupier
- Owner: Emobe
- Created: 2019-01-14T16:59:54.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2026-02-14T22:08:49.000Z (4 months ago)
- Last Synced: 2026-02-15T05:29:08.070Z (4 months ago)
- Topics: cardgame, javascript, typescript
- Language: TypeScript
- Homepage:
- Size: 476 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
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);
```