class DealerHand

Defined in:

dealer_hand.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from class Hand

cards : Array(Card) cards, cards=(cards : Array(Card)) cards=, done? done?, is_blackjack? is_blackjack?, played : Bool played, played=(played : Bool) played=

Constructor methods inherited from class Hand

new new

Constructor Detail

def self.new #

[View source]

Class Method Detail

def self.draw(game : Game, dealer_hand : DealerHand) #

[View source]
def self.get_value(dealer_hand : DealerHand, count_method : Hand::Count) #

[View source]
def self.is_busted?(dealer_hand : DealerHand) #

[View source]

Instance Method Detail

def hide_down_card : Bool #

[View source]
def hide_down_card=(hide_down_card : Bool) #

[View source]
def up_card_is_ace? #

[View source]