7 Card Poker Hand Evaluator

前端 未结 9 766
死守一世寂寞
死守一世寂寞 2021-01-30 01:30

Does anyone know a fast algorithm for evaluating 7 card poker hands? Something which is more efficient than simply brute-force checking a every 21 5-card combination of hands fr

9条回答
  •  悲哀的现实
    2021-01-30 02:21

    Glad you asked :) Yes, here's a brand new solution that may be just the ticket:

    Code: http://code.google.com/p/specialkpokereval/
    Blog: http://specialk-coding.blogspot.com/2010/04/texas-holdem-7-card-evaluator_23.html

    A commercial-grade evolution of this evaluator is available for the iPhone/iPod Touch via iTunes Store. It's called "Poker Ace".

    An excellent summary of various solutions complete with links is found on James Devlin's blog "Coding The Wheel".

    One evaluator not yet discussed there is Klaatu's.

    Good luck!

提交回复
热议问题