title: How do I programmatically calculate Poker Odds?
body: <p>I'm trying to write a simple game/utility to calculate poker odds.  I know there's plenty of <a href="http://wikipedia.org/wiki/Poker_probability_(Texas_hold_&#39;em)" rel="noreferrer">resources</a> that talk about the formulas to do so, but I guess I'm having trouble translating that to code.  Particularly, I'm interested in Texas Hold-em ...</p>
  
  <p>I understand that there are several different approaches, one being that you can calculate the odds that you will draw some hand based on the cards you can see.  The other approach is calculating the odds that you will win a certain hand.  The second approach seems much more complex as you'd have to enter more data (how many players, etc.)</p>
  
  <p>I'm not asking that you write it for me, but some nudges in the right direction would help :-)</p>