analyze_hand.c File Reference

Functions

void analyze_hand (void)
 classify 5 cards according to poker rules

Function Documentation

void analyze_hand ( void   ) 

classify 5 cards according to poker rules

Determines whether the hand contains a straight, a flush, four-of-a-kind, and/or three-of-a-kind; determines the number of pairs.

Side Effects:
stores the classification into external variables.

Referenced by main().


Generated on Sun Oct 18 15:07:59 2009 for CS2023 Week 7 Examples by  doxygen 1.6.1