A third possibility is described by Billings, Davidson, Schaeffer and Szafron in "The challenge of poker" (a paper in "Artificial Intelligence"). At propokertools.com, we use hand orderings inspired by their approach. We created an evolutionary computer simulation, whereby the set of "good hands" is gradually refined, and hands are ranked against other "good hands".
The Evolution ProgramTo generate the ordering for each game:
Perform the following computation a total of ten times:
For each possible hand h:
Do the following many times (where "many" doubles each iteration):
- Deal the hand h, and add one chip to the pot
- Deal one random hand b, and add one chip to the pot (to simulate a "blind" hand)
- Deal eight random hands. For each "good" hand (defined later), add one chip to the pot (to simulate a player calling). For all the rest, fold the hand
- Deal a board, and award the pot to the winner(s)
We define a "good" hand as one which, on average, wins more than one chip from the pot. Put another way, a "good" hand is one that does better than break-even. For the first iteration, all hands are considered "good" hands. As the simulation is run, the set of good hands shrinks, and by the seventh iteration or so it becomes fairly stable.