Constructor
# new BlackJackPlayer(rng)
Parameters:
Name | Type | Description |
---|---|---|
rng |
seedrandom.PRNG
|
the random number generator |
Members
Methods
# addCard(blackJackCard) → {void}
hand the player a card
Parameters:
Name | Type | Description |
---|---|---|
blackJackCard |
BlackJackCard
|
The card to hand |
void