@gamestdio/playing-cards
v0.1.0
Published
Data structures and algorithms for playing card games.
Downloads
5
Readme
Installation:
npm install @gamestdio/playing-cards
API
import { Deck, Suite } from "@gamestdio/playing-cards";
const deck = new Deck({
suites: [Suite.Diamonds, Suite.Hearts, Suite.Spades, Suite.Clubs]
jokers: 4,
shuffle: false
});
console.log(deck.cards);
License
MIT