Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
playing-cards
master
PlayingCards
Card
Deck
Generated using Crystal 1.14.0
2024-11-26 17:21:39 UTC
class
PlayingCards::
Deck
PlayingCards::Deck
Reference
Object
Defined in:
playing-cards.cr
Constructors
.new
Class Method Summary
.shuffle!
Instance Method Summary
#cards
: Array(Card)
#deal
(amount)
#shuffle!
Constructor Detail
def self.
new
#
[
View source
]
Class Method Detail
def self.
shuffle!
#
[
View source
]
Instance Method Detail
def
cards
: Array(
Card
)
#
[
View source
]
def
deal
(amount)
#
[
View source
]
def
shuffle!
#
[
View source
]