In the version of fish program I emailed in: 1. I would like advice on how to only display reference to hands that are higher than my hand.
As an example, I use -d as -d ac to indicate I have two aces as hold cards. Because of this my program should only display: P(TwoPair |3) : 25% P(Trips |3) : 4.5% P(Straight|3) : 14% Because I have the highest possible pair of aces and the only things that can win agains me is TwoPair, Trips and a Stright. Doing this isn't too hard, but what would I do if my hold cards were Tc 9h, thereby giving me a pair of tens and pair of nines? Now my hand is kind of in the middle of the range for two pairs. Alternately, what would I do if my hold cards and board cards gave me trip 7s. Now I am mid-range of the trips. basically what I am looking is suggestions for how to obtain the categorized percentages of hands that will win against my hold cards plus board cards. Another wrinkle: If you do not have any board cards, how would you adjust? I was thinking that you would average your best possible hand with your worst possible hand. You would use this average adjust the display of categorized percentages. Getting rid of the 0% displays is simple, as you just don't display anything that has a 0%. more to follow: On Sun, 2010-04-04 at 23:49 -0500, Elmer Fittery wrote: > Like fish, but different. > > fish -o 3 -n 7 -d as -d ac 2d 4c 8s 9d th > > Means, do the calculations based on 3 opponents ( the -o option) > in a 7 card game ( I am doing texas holdem ) > with the ace of spades and ace of clubs as my hold cards. > with 2d 4c 8s 9d th on the board > > This results in: > > 990 boards containing 8s 4c 9d 2d Th with As Ac removed > P(NoPair |3) : 72% > P(OnePair |3) : 87% > P(TwoPair |3) : 25% > P(Trips |3) : 4.5% > P(Straight|3) : 14% > P(Flush |3) : 0% > P(FlHouse |3) : 0% > P(Quads |3) : 0% > P(StFlush |3) : 0% > > the probability that one of the your three opponents has > > NoPair is 72% > One pair is 87% > TwoPair is 25% > Trips is 4.5% > Straight is 14% > Flush is 0% > FlHouse is 0% > Quads is 0% > StFlush is 0% > > Attached to this email is the c code and the Makefile. > > I had to modify the fish portion of the Makefile to use -lm or the math > library because I use the math function pow. > > I would like to ask a few questions about enhancements to the program, > but that will be done in another email. _______________________________________________ Pokersource-users mailing list [email protected] https://mail.gna.org/listinfo/pokersource-users
