v0.12 – Stats pack initialized!

v0.12 1/21/09

  • calcrecurse does ALL my probability calculations now. Sure glad I stuck with it.
  • crap, I hate debugging recursive functions.
  • replaced calcpossibles with calcrecurse, which does the same thing, but allows for arrays of things to look for

v0.11 1/19/09

  • calc’d probabilities up to flushes. they’re probably wrong, but fix later. Also, only calc’s up to flop. bad idea?
  • successfully doing an entire ajax loop from card selection to server to callback javascript
  • optimized starting hand stat generation from 54.31 secs down to 1.39 secs. Not bad. Doesn’t really matter tho. Results will be cached. Still, good for the morale.

v0.10 1/18/09

  • figured out a simple hash to use so cache searches will be pretty uniform
  • generated cached statistics files for the starting 2 cards
  • cleaned up the card input data (less work on the server), now it strips out ‘blank’ cards
  • simplified the cardpick function. Only 3 states now.
  • combined all the different betting round calls into one call that takes any number of cards
  • wrote the hand checker module. Now it can tell you kind of hand you’re holding.

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.