Re: Programming - Ranking Hands (C#)
Yeah, I found the appropriate method, it seems very unorganized and illogically named. Why he didn't just implement a Hand.Rank() property directly, without having to create an instance of that class is beyond me.
Determining what category each hand falls into is pretty elementary...I just found the bit shifting aspect interesting for determining a numerical rank for a given hand.
|