#1
|
|||
|
|||
Verification of Computer Results....
I just finished writing a java program that will analyze three two card player hands and I would like to validate the accuracy of my code. Here is what I would like to know:
I analyzed Q [img]/images/graemlins/spade.gif[/img] 7 [img]/images/graemlins/diamond.gif[/img] vs. J [img]/images/graemlins/club.gif[/img] 9 [img]/images/graemlins/club.gif[/img] vs. 10 [img]/images/graemlins/heart.gif[/img] 6 [img]/images/graemlins/heart.gif[/img]. My results: There are 1,370,754 different possible boards. Q [img]/images/graemlins/spade.gif[/img] 7 [img]/images/graemlins/diamond.gif[/img] will win: 455,340 times, J [img]/images/graemlins/club.gif[/img] 9 [img]/images/graemlins/club.gif[/img] will win: 508,466 times, And 10 [img]/images/graemlins/heart.gif[/img] 6 [img]/images/graemlins/heart.gif[/img] will win: 400,182 times, And there will be 6,766 ties amongst all three players. The reason I am posting this is because I figured that Q [img]/images/graemlins/spade.gif[/img] 7 [img]/images/graemlins/diamond.gif[/img] had a slight advantage but my numbers are telling me something different. Is there anyone that can validate or invalidate my results? Thanks. |
#2
|
|||
|
|||
Re: Verification of Computer Results....
twodimes.net is a hand analyzer many people use. It confirms J-9 is the favorite.
|
#3
|
|||
|
|||
Perfect!
http://twodimes.net/h/?z=91101
<font class="small">Code:</font><hr /><pre> pokenum -h qs 7d - jc 9c - th 6h Holdem Hi: 1370754 enumerated boards cards win %win lose %lose tie %tie EV Qs 7d 455340 33.22 908648 66.29 6766 0.49 0.334 Jc 9c 508466 37.09 855522 62.41 6766 0.49 0.373 Th 6h 400182 29.19 963806 70.31 6766 0.49 0.294 </pre><hr /> |
#4
|
|||
|
|||
Re: Perfect!
Cool. Would you mind showing us your code or explaining the algorithms behind it?
|
#5
|
|||
|
|||
Re: Perfect!
Two-dimes is not Bruce's code, but a lot of that source code is available at sourceforge or you can get the source for holdem showdown at brecware .
Craig |
#6
|
|||
|
|||
Re: Perfect!
Wow, thanks Bozeman. I'll check that out.
|
Thread Tools | |
Display Modes | |
|
|