Constructor
# new BlackJackCard(suit, rank)
Parameters:
| Name | Type | Description |
|---|---|---|
suit |
string
|
the suit |
rank |
string
|
the rank |
Members
Methods
# static returnRandomCard(rngnullable) → {BlackJackCard}
Return a random card
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
rng |
seedrandom.PRNG
|
<nullable> |
the random number generator |
a card