analyze-comment.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 14:35:00 2009 for CS2023 Assignment 4 by  doxygen 1.6.1