View source: R/napjack_helpers.R
deal_phase | R Documentation |
This function deals a phase of cards from a given deck, consisting of 6 cards. It returns a list containing the dealt cards as a matrix, the updated deck, and the individual dealt cards.
deal_phase(.deck)
.deck |
A deck of cards created using the |
A list with the following components:
A matrix of the dealt cards, with 1 row and 6 columns.
The updated deck after dealing the cards.
A list of the individual dealt cards.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.