powered by
Determine the card from a rank and suit.
dotTransformToNumber(rank, suit)
:
y: number corresponding to card as integer in {1, 2, ... , 52}
# NOT RUN { dotTransformToNumber(2,1) dotTransformToNumber(14,1) dotTransformToNumber(2,2) dotTransformToNumber(14,2) # }
Run the code above in your browser using DataLab