0

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.

Franz Kafka
  • 10,623
  • 20
  • 93
  • 149
HugoMen'z
  • 31
  • 6
  • 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 Answers1

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.

Community
  • 1
  • 1
durron597
  • 31,968
  • 17
  • 99
  • 158