I need to calculate the odds on a poker hand by Java. This is for a school project I don't have much time and I can't find any good and simple method or algorithm.
Asked
Active
Viewed 2,134 times
0
-
In order to count outs you would need to be able to evaluate a 5, 6, or 7 card hand and determine whether it is a straight, full house, one pair, etc. Therefore no simple algorithm exists – durron597 Apr 10 '13 at 13:46
1 Answers
0
I would start with some of the answers in this thread: Poker Hands in Java
Once you can evaluate poker hands, counting outs should be easy.