Description Usage Arguments Value Examples
Transforms an absolute position (i.e., seat at the table) into a relative position (i.e., seats behind the dealer)
1 | transformToRelative(nPlayers, position, j)
|
nPlayers |
number of hands to deal as integer in {2, ... , 9} |
position |
dealer position as integer in {2, ..., nPlayers} |
j |
absolute position of a player as integer in {1, 2, ... , nPlayers} |
k : relative position of a player as integer in {1, 2, ... , nPlayers}
1 2 3 4 | transformToRelative(9,9,9)
transformToRelative(9,9,8)
transformToRelative(9,1,9)
transformToRelative(9,5,2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.