imcastleman
09-26-2003, 02:36 PM
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 /images/graemlins/spade.gif 7 /images/graemlins/diamond.gif vs. J /images/graemlins/club.gif 9 /images/graemlins/club.gif vs. 10 /images/graemlins/heart.gif 6 /images/graemlins/heart.gif.
My results:
There are 1,370,754 different possible boards.
Q /images/graemlins/spade.gif 7 /images/graemlins/diamond.gif will win: 455,340 times,
J /images/graemlins/club.gif 9 /images/graemlins/club.gif will win: 508,466 times,
And 10 /images/graemlins/heart.gif 6 /images/graemlins/heart.gif 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 /images/graemlins/spade.gif 7 /images/graemlins/diamond.gif had a slight advantage but my numbers are telling me something different. Is there anyone that can validate or invalidate my results?
Thanks.
I analyzed Q /images/graemlins/spade.gif 7 /images/graemlins/diamond.gif vs. J /images/graemlins/club.gif 9 /images/graemlins/club.gif vs. 10 /images/graemlins/heart.gif 6 /images/graemlins/heart.gif.
My results:
There are 1,370,754 different possible boards.
Q /images/graemlins/spade.gif 7 /images/graemlins/diamond.gif will win: 455,340 times,
J /images/graemlins/club.gif 9 /images/graemlins/club.gif will win: 508,466 times,
And 10 /images/graemlins/heart.gif 6 /images/graemlins/heart.gif 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 /images/graemlins/spade.gif 7 /images/graemlins/diamond.gif had a slight advantage but my numbers are telling me something different. Is there anyone that can validate or invalidate my results?
Thanks.