Skip to content
kyrcha edited this page Dec 28, 2011 · 5 revisions

The repository contains Java classes for making poker related calculations for the Texas hold' em variation. This library is used in the TiltNet bot competing in the Annual Computer Poker Competition. For a quick start, you can take a look in the main methods of the Hand and Heuristics classes with examples of use. Besides the calculations part, there is a support for card, deck and hand manipulations.

Calculations

  • Ranking uniquely 5 to 7 cards hands.
  • Calculating hand strength given hole and community cards.
  • Calculating positive and negative hand potential for one or two cards ahead.
  • Hole card strength calculation through Bill Chen's formula.

Wiki Map

Visit the:

  • Manual page for guidelines for compiling and using the library.
  • Changes page for a history of changes.

Performance

  • Positive and negative hand potential for two cards ahead: (A) 2.203 seconds (B) 2.529 seconds
  • Positive and negative hand potential for one card ahead: (A) 0.085 seconds (B) 0.093 seconds

Configuration A: Laptop, Ubuntu 11.10, Intel Core 2 Duo T8300 @ 2.40 GHz, 3MB cache, 4GB RAM,

Configuration B: Desktop, Ubuntu 11.10, Intel Core 2 Quad Q6600 @ 2.40 GHz, 4MB cache, 8GB RAM,

Clone this wiki locally