Howdy. I have written a small yhatzee clone game, (i realized i love this game when i got the handheld version for my graduation). Anyways, How would y'all go about detecting a small straight. If you don't know yhatzee, you roll five dice, and a small straight is when four of those dice are numerically sequential (ie: 3,4,5,6 or 2,3,4,5). I have the values stored into an array of size five, and sorted from lowest to highest in value. Some examples to think about are (1,2,3,3,4) or (1,3,4,5,6) or one that isn't a small straight (1,2,3,3,6). If all you have is tips, thanks.