Home
last modified time | relevance | path

Searched refs:comphand (Results 1 – 4 of 4) sorted by relevance

/openbsd/src/games/fish/
Dfish.c65 int asked[RANKS], comphand[RANKS], deck[TOTCARDS]; variable
120 if (!comphand[move]) { in main()
124 goodmove(USER, move, userhand, comphand); in main()
131 if (!gofish(move, COMPUTER, comphand)) in main()
134 goodmove(COMPUTER, move, comphand, userhand); in main()
158 countcards(comphand), curcard); in usermove()
160 (void)countbooks(comphand); in usermove()
203 } while (!comphand[lmove] || comphand[lmove] == CARDS); in compmove()
218 comphand[i] > 0 && comphand[i] < CARDS) { in promove()
224 if (comphand[i] && comphand[i] != CARDS) { in promove()
[all …]
/openbsd/src/games/cribbage/
Dcrib.c624 if (comphand(chand, "hand")) in score()
627 if (comphand(crib, "crib")) in score()
631 if (comphand(chand, "hand")) in score()
Dcribbage.h74 int comphand(CARD [], char *);
Dsupport.c158 comphand(CARD h[], char *s) in comphand() function