Finding a straight in a cribbage
问题 Background For those of you not familiar with Cribbage, it uses a standard 52 card deck with aces being always low. A player's hand consists of 4 cards, and there is 1 turn card that all players can use to help score their hand. So for a little practice problem for myself, I wrote a we bit of VBA and had all ~12.9 million possible scoring combination printed in an excel sheet. I assigned each card an integer 1 to 52 and set it up so that each suit is a sequential block of 13 cards. 1-13 =