Here, we go through a simple process of finding duplicates. As in the last post, we go through the list-by-rank (So that in the case of pairs, the higher one is noted first) on line 131, where it's a simple matter of seeing if there's 3 or 4 of a rank, and if so, making a note.
Lines 136-138 are a little different, since you can have 2 pairs, but still relatively simple. As long as the pairs we have now aren't the maximum allowed (2), place the rank of this pair in the array, then increase the number of pairs. Ta-da. One more method for tonight!
This'll be in use to determine the winner if nobody's got shit. Lines 145-146 grab the value type, then the actual value score thing (For scoring! Integer comparison and all that).Lines 149-150 fill out the rest of the ranking array with the integer values of the cards in the hand, the last 2 lines are just in case there end up being more than 5 cards in the hand for some reason.
And uh., that's it for the night, I'm about to go to bed again and just keep putting off going to a professional! See you tomorrow, if I'm conscious! Fwoosh.