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