Mapping Poker-Starting Hands to 0..1325

Mapping Poker-Starting Hands to 0..1325

I'm trying to develop a poker-tool and I'm having a little tought-problem. There are 1326 poker starting hands. I want to be able to identify each of them with a number between 0 and 1325. Then, when I have an input of f.e. 768, I want to be able to

6
Like
Save

Comments

Write a comment

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.