Skip to content

shoehive/cards

shoehive/cards: card model, decks and shoes, view helpers for hidden cards, blackjack totals, poker hand evaluation, and side pots. Isomorphic and dependency free. Cards are plain strings such as 'AS' and 'TD', so game state stays JSON.

Shuffling uses the table's seeded RNG: ctx.random.shuffle(standardDeck()).