deal_phase {scdtb} | R Documentation |
Deal a Phase of Cards
Description
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.
Usage
deal_phase(.deck)
Arguments
.deck |
A deck of cards created using the |
Value
A list with the following components:
- cards_matrix
A matrix of the dealt cards, with 1 row and 6 columns.
- updeck
The updated deck after dealing the cards.
- dealt_cards
A list of the individual dealt cards.
[Package scdtb version 0.2.0 Index]