Lines Matching refs:hand
131 * Evaluate and score a player hand or crib
134 plyrhand(const CARD hand[], const char *s)
140 prhand(hand, CINHAND, Playwin, FALSE);
142 i = scorehand(hand, turnover, CINHAND, strcmp(s, "crib") == 0, explain);
165 * Handle scoring and displaying the computers hand
292 * returns true if some card in hand can be played without exceeding 31
295 anymove(const CARD hand[], int n, int sum)
301 j = hand[0].rank;
303 if (hand[i].rank < j)
304 j = hand[i].rank;
310 * anysumto returns the index (0 <= i < n) of the card in hand that brings
314 anysumto(const CARD hand[], int n, int s, int t)
319 if (s + VAL(hand[i].rank) == t)