By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,462 Members | 1,423 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,462 IT Pros & Developers. It's quick & easy.

Poker odds calculator

P: n/a
Has anyone heard of an open-source .NET engine that calculates the
winning and losing percentages of hands?

Regards,

Chris

Feb 3 '07 #1
Share this Question
Share on Google+
4 Replies


P: n/a
<ha******@hotmail.comwrote:
Has anyone heard of an open-source .NET engine that calculates the
winning and losing percentages of hands?
No - I started writing a poker player at one time but never finished
it. I reckoned that the easiest way of getting a good idea of the odds
is to play a million hands with random decks (given the dealt cards),
and see how many of them win. The maths involved in a precise
calculation would be horrendous.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Feb 3 '07 #2

P: n/a
http://channel9.msdn.com/ShowPost.aspx?PostID=21534 and
http://www.frontiernet.net/~fredm/
The program calculates odds using a Monte Carlo simulation.

<ha******@hotmail.comwrote in message
news:11**********************@m58g2000cwm.googlegr oups.com...
Has anyone heard of an open-source .NET engine that calculates the
winning and losing percentages of hands?

Regards,

Chris

Feb 3 '07 #3

P: n/a
do you really think it would be that horrendous :)

Ollie Riches

"Jon Skeet [C# MVP]" <sk***@pobox.comwrote in message
news:MP************************@msnews.microsoft.c om...
<ha******@hotmail.comwrote:
>Has anyone heard of an open-source .NET engine that calculates the
winning and losing percentages of hands?

No - I started writing a poker player at one time but never finished
it. I reckoned that the easiest way of getting a good idea of the odds
is to play a million hands with random decks (given the dealt cards),
and see how many of them win. The maths involved in a precise
calculation would be horrendous.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too

Feb 3 '07 #4

P: n/a
Ollie Riches <ol**********@hotmail.comwrote:
do you really think it would be that horrendous :)
Yup. I've got a maths degree but wouldn't like to spend the time
working it out. If you're an expert in probability and combinatorics it
*might* just be quicker to work out the probability than to write the
code to simulate it - but I doubt it...

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Feb 3 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.