- Preparing search index...
- The search index is not available
wizard-duel
Function randomPopulateHand
- randomPopulateHand(options: Card[], probabilities: number[], handSize: number): Card[]
-
Parameters
-
options: Card[]
-
probabilities: number[]
-
handSize: number
Returns Card[]
Randomly populate a player's hand with cards from a list of options and probabilities.