Registry / utility / card-deck

card-deck

JSON →
library4.0.1rbrubygemsunverified

Supplies the core parts of any card game, including a deck that can be shuffled.

gem install card_deck
INSTALL
IMPORT
SIG · CARD-DECK
C
card-deck
utilityrubyv4.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CardDeck
require 'card_deck'

Create a new deck, shuffle it, and display the first card.

require 'card_deck' deck = CardDeck.new deck.shuffle puts deck.cards.first
Debug
Known issues

No known issues recorded.

Upgrade
Version history
4.0.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
card-deck — gem install card-deck · libregistry