Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
blackjack
main
Card
DealerHand
Game
Hand
Count
Status
PlayerHand
Shoe
Generated using Crystal 1.11.2
2024-11-02 04:52:05 UTC
class
Hand
Hand
Reference
Object
Direct Known Subclasses
DealerHand
PlayerHand
Defined in:
hand.cr
Constructors
.new
Instance Method Summary
#cards
: Array(Card)
#cards=
(cards : Array(Card))
#done?
#is_blackjack?
#played
: Bool
#played=
(played : Bool)
Constructor Detail
def self.
new
#
[
View source
]
Instance Method Detail
def
cards
: Array(
Card
)
#
[
View source
]
def
cards=
(cards : Array(
Card
))
#
[
View source
]
def
done?
#
[
View source
]
def
is_blackjack?
#
[
View source
]
def
played
: Bool
#
[
View source
]
def
played=
(played : Bool)
#
[
View source
]