Lines Matching defs:comphand
76 static int asked[RANKS], comphand[RANKS], deck[TOTCARDS];
126 if (!comphand[move]) {
130 goodmove(USER, move, userhand, comphand);
137 if (!gofish(move, COMPUTER, comphand))
140 goodmove(COMPUTER, move, comphand, userhand);
165 countcards(comphand), curcard);
167 (void)countbooks(comphand);
221 } while (!comphand[lmove] || comphand[lmove] == CARDS);
236 comphand[i] > 0 && comphand[i] < CARDS) {
242 if (comphand[i] && comphand[i] != CARDS) {
247 if (comphand[i] != CARDS &&
248 comphand[i] > comphand[max])
254 if (userhand[i] && comphand[i])
259 if (comphand[i] && comphand[i] != CARDS &&
335 cb = countbooks(comphand);
428 ++comphand[deck[--curcard]];