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 6 years ago)
- Default Branch: master
- Last Pushed: 2024-08-28T17:07:15.000Z (8 months ago)
- Last Synced: 2024-12-02T01:29:30.177Z (5 months ago)
- Topics: cardgame, javascript, typescript
- Language: TypeScript
- Homepage:
- Size: 464 KB
- Stars: 1
- Watchers: 2
- 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);
```