powered by
A standard deal situation beginnng the deal at the left of the dealer.
assignToPlayers(nPlayers, position, y)
number of hands to deal as integer in {2, ... , 9}
dealer position as integer in {2, ..., nPlayers}
cards dealt as vector[2*nPlayers+5] in {1, 2, ..., 52}
dotTransformToAbsolute
# NOT RUN { assignToPlayers(9,9,1:23) assignToPlayers(9,1,1:23) assignToPlayers(9,1,c(1:17,24,48:52)) # }
Run the code above in your browser using DataLab