Description Usage Arguments Value See Also Examples
A standard deal situation beginnng the deal at the left of the dealer.
1 | assignToPlayers(nPlayers, position, y)
|
nPlayers |
number of hands to deal as integer in {2, ... , 9} |
position |
dealer position as integer in {2, ..., nPlayers} |
y |
cards dealt as vector[2*nPlayers+5] in {1, 2, ..., 52} |
players : the hole cards in absolute position | as matrix[nPlayers, 4] in {1, 2, ..., 52} |
col1: rank of card 1 in {2, ... , 14} | |
col2: suit of card 1 in {1, 2, 3, 4} | |
col3: rank of card 2 | |
col4: suit of card 2 |
1 2 3 | assignToPlayers(9,9,1:23)
assignToPlayers(9,1,1:23)
assignToPlayers(9,1,c(1:17,24,48:52))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.