Check for Quads, Full house
I am re-working some of the code, and I created a couple new classes to help me determine if someone has some of the rank based hands. Checking for four of a kind was relatively easy, checking for a full house was a little tricky.
I expect checking for three of a kind to be easy, and two pair to be a bit tricky.
Regardless, four of a kind and full house are now being checked for. You will also notice a score that has been attached to each hand.
The score will be used, in combination with the type of hand to determine how good the hand is. So a four of a kind with a score of 13 would still beat a full house of score 1013. Four of a kind with a score of 13 should be 4 kings, full house of score 1013 shoudl be 10's over kings 1310 would be kings over 10's.
The app is coming along nicely, comments are welcome.
I expect checking for three of a kind to be easy, and two pair to be a bit tricky.
Regardless, four of a kind and full house are now being checked for. You will also notice a score that has been attached to each hand.
The score will be used, in combination with the type of hand to determine how good the hand is. So a four of a kind with a score of 13 would still beat a full house of score 1013. Four of a kind with a score of 13 should be 4 kings, full house of score 1013 shoudl be 10's over kings 1310 would be kings over 10's.
The app is coming along nicely, comments are welcome.

0 Comments:
Post a Comment
<< Home