ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Other Software > Developer's Corner

Fun idea for a coding challenge: Texas Hold'Em Poker Hand Analyzer

(1/1)

mouser:
For anyone interested in a fun coding and math/probability challenge, I thought of one the other day.  And with the Programming School area offline, I'll just post it here.

Texas Hold'Em Poker Hand Analyzer

Allow a user to provide the hands for any number of players, and some (optional) shared hand cards.

The program should then calculate the odds of each hand winning (note there are cases where there could be a tie) a game of Texas Hold'Em Poker.


Bonus points for making it easy to adjust hands/common cards.

Bonus points if your program can let you specify certain players cards as unknown.  For example it would be nice to say player 1 has "Ace and four of hearts" and there is one other player with 2 unknown cards.  What are my odds of winning?


This is exactly the kind of program they use on poker shows to show the likelyhood of each player winning as they play.  It's a great way to learn about probabilities.

Navigation

[0] Message Index

Go to full version