BlackjackValue
Defined in: cards/blackjack.ts:6
The value of a blackjack hand, from blackjackValue.
Properties
Section titled “Properties”blackjack
Section titled “blackjack”
readonlyblackjack:boolean
Defined in: cards/blackjack.ts:12
True for a natural: exactly two cards totalling 21.
readonlybust:boolean
Defined in: cards/blackjack.ts:14
True when the total is over 21.
readonlysoft:boolean
Defined in: cards/blackjack.ts:10
True when an ace is counted as 11 (the hand can take a card without busting).
readonlytotal:number
Defined in: cards/blackjack.ts:8
The best total: aces count 11 unless that would bust, then 1.
