2
Answers

Poker hand evaluation

Photo of lee croydon

lee croydon

10y
1.6k
1
Hi can anyone point me in the right direction for a book or website to help me create a Poker evaluation program. i already have a card class and constructor and a Deck method that is already shuffled. i am struggling to find away of comparing the players holding cards plus the table cards i.e flop, river, turn to a ranked hand.
 
any help or advice would be very much appreciated.
 
Thanks Lee  

Answers (2)

1
Vulpes
NA 98.3k 1.5m 10y
I did something a while back in this thread which might be of help:

http://www.c-sharpcorner.com/Forums/Thread/176286/how-to-decide-which-hand-is-the-strongest.aspx

As you can see that's finding the best 5 card hand from 7 cards dealt but it could be adjusted to deal with other numbers of cards dealt.


Accepted
0
lee croydon
NA 48 7.2k 10y
Thanks Vulpes, im sure i can work with this to create a solution