Searched refs:comphand (Results 1 – 4 of 4) sorted by relevance
| /openbsd/src/games/fish/ |
| D | fish.c | 65 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/ |
| D | crib.c | 624 if (comphand(chand, "hand")) in score() 627 if (comphand(crib, "crib")) in score() 631 if (comphand(chand, "hand")) in score()
|
| D | cribbage.h | 74 int comphand(CARD [], char *);
|
| D | support.c | 158 comphand(CARD h[], char *s) in comphand() function
|