()
| 60 | * in sorted order. |
| 61 | */ |
| 62 | export function randomHand() { |
| 63 | const hand = []; |
| 64 | for (let i = 0; i < GAME_STATE.num_cards_per_hand; i++) { |
| 65 | hand.push(getRandomDigit()); |
| 66 | } |
| 67 | return hand.sort((a, b) => a - b); |
| 68 | } |
| 69 | |
| 70 | /** |
| 71 | * This function produces an array indicating the largest face value for |
no test coverage detected