class

PlayerHand

Inherits Hand < Reference < Object

Constants

MAX_PLAYER_HANDS = 7

Constructors

new(game : Game, bet : Float64)
Source

Class methods

draw(game : Game, player_hand : PlayerHand, index : Int32)
Source
get_value(player_hand : PlayerHand, count_method : Hand::Count)
Source
is_busted?(player_hand : PlayerHand)
Source

Instance methods

bet=(bet : Float64)
Source
can_dbl?
Source
can_hit?
Source
can_split?
Source
can_stand?
Source
clone
Source
game
Source
game=(game : Game)
Source
get_action
Source
is_done?
Source
played
Source
played=(played : Bool)
Source
process
Source
stand
Source
status
Source
status=(status : Hand::Status)
Source
stood
Source
stood=(stood : Bool)
Source