Two Plus Two Older Archives  

Go Back   Two Plus Two Older Archives > General Gambling > Probability
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-26-2003, 02:36 PM
imcastleman imcastleman is offline
Junior Member
 
Join Date: Sep 2003
Posts: 21
Default 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.
Reply With Quote
  #2  
Old 09-26-2003, 02:53 PM
La Brujita La Brujita is offline
Senior Member
 
Join Date: Jul 2003
Posts: 517
Default Re: Verification of Computer Results....

twodimes.net is a hand analyzer many people use. It confirms J-9 is the favorite.
Reply With Quote
  #3  
Old 09-26-2003, 02:57 PM
BruceZ BruceZ is offline
Senior Member
 
Join Date: Sep 2002
Posts: 1,636
Default 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 />
Reply With Quote
  #4  
Old 09-26-2003, 05:23 PM
NoTalent NoTalent is offline
Senior Member
 
Join Date: Sep 2003
Posts: 119
Default Re: Perfect!

Cool. Would you mind showing us your code or explaining the algorithms behind it?
Reply With Quote
  #5  
Old 09-26-2003, 10:13 PM
Bozeman Bozeman is offline
Senior Member
 
Join Date: Sep 2002
Location: On the road again
Posts: 1,213
Default 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
Reply With Quote
  #6  
Old 09-27-2003, 01:33 AM
NoTalent NoTalent is offline
Senior Member
 
Join Date: Sep 2003
Posts: 119
Default Re: Perfect!

Wow, thanks Bozeman. I'll check that out.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:53 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.