Popular recipes tagged "poker" but not "time"http://code.activestate.com/recipes/tags/poker-time/2013-07-07T04:09:34-07:00ActiveState Code RecipesPoker Hands (Python) 2013-07-07T04:09:34-07:00Jason Friedmanhttp://code.activestate.com/recipes/users/4183835/http://code.activestate.com/recipes/578589-poker-hands/ <p style="color: grey"> Python recipe 578589 by <a href="/recipes/users/4183835/">Jason Friedman</a> (<a href="/recipes/tags/cards/">cards</a>, <a href="/recipes/tags/deck/">deck</a>, <a href="/recipes/tags/poker/">poker</a>, <a href="/recipes/tags/shuffle/">shuffle</a>). Revision 5. </p> <p>Deal random hands and categorize them. See also <a href="http://code.activestate.com/recipes/415504/">recipe 415504</a>.</p> Poker hand calculation and comparison (Tcl) 2013-06-24T05:03:10-07:00Magnus Åhmanhttp://code.activestate.com/recipes/users/4180631/http://code.activestate.com/recipes/578539-poker-hand-calculation-and-comparison/ <p style="color: grey"> Tcl recipe 578539 by <a href="/recipes/users/4180631/">Magnus Åhman</a> (<a href="/recipes/tags/poker/">poker</a>). Revision 2. </p> <p>Calculates 1. the category of the hand (high card, one pair, etc...) and 2. the "kicker" values that act as tiebreakers to (possibly) distinguish two hands of the same category from each other. These two attributes, category and kickers, are then used by the cmp method to compare two hand objects and return -1, 0 or 1.</p>