It’s doing my head in trying to figure out the logic of how to play the cards in cribbage. My Visual Basic program is coming along but there’s been some tricky areas to figure out and this bit is proving difficult. The chart shows where I am with it but I can’t help but feel there’s an approach that would be simpler to code.

Have your say! (No need for any ID!)