|
-
Jan 28th, 2010, 11:39 AM
#6
Frenzied Member
Re: Poker Hand Evaluator
I disagree that the order is important, but it all depends on how you code it. A flush beats a straight regardless of which one you check for first. If you're concerned about order then why not just check each hand in the same order as the rankings? ie. check for 1 pair, then 2 pair, then 3 of a kind, etc. Also, how are you ranking hands of the same type? ie. two flushes.
Last edited by nbrege; Jan 28th, 2010 at 12:22 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|