KVOM
Sunday, December 3rd, 2006, 3:04 PM
QUOTE (KVOM @ Monday, November 27th, 2006, 4:38 PM)

I don't believe it would be that difficult to write one. For pre-flop I assume the program would just generate some reasonable (~1000) hands to generate its results. Post-flop it could just enumerate all of the 2-card turn/river combos (out of the remaining 41 or fewer cards).
The online versions could serve as QC to check results.
After this prior post I actually spent a couple of days programming (in Java) to actually accomplish this goal. The code that I have currently will deal random hands/boards, determine the high & low winners, and calculate EV for each. What remains is to allow input of specific hands.
My initial plan is that the program would be invoked from the command prompt window via a .bat file. The paramters would look something like this:
h:AHAD2C2D - specify a hand. As many as (2-10) hands could be input.
b:QCKH3D - specify the board (3 or 4 cards)
If no board is specified, then the program generates 500 (or more) random boards and calculates EV for each hand.
If a 3-card board is specified the program generates a board from all possible 2-card combinations left in the deck to compute EV (result is exact)
If a 4-card board is specified then the program generates a board with all of the cards left in the deck. EV result is again exact.
Any other suggestions?