import { createDeck, deal } from '@datamoc/mw_games/board';const hands = deal(createDeck(), 4, 13);console.log(hands.length, hands[0].length); // 4 13 - a full deck dealt to four players Copy
import { createDeck, deal } from '@datamoc/mw_games/board';const hands = deal(createDeck(), 4, 13);console.log(hands.length, hands[0].length); // 4 13 - a full deck dealt to four players
Example