Home | History | Annotate | Download | only in fish

Lines Matching refs:hand

153 	(void)printf("\nYour hand is:");
164 (void)printf("%d cards in my hand, %d in the pool.\n",
269 drawcard(int player, int *hand)
273 ++hand[card = deck[--curcard]];
274 if (player == USER || hand[card] == CARDS) {
277 if (hand[card] == CARDS) {
280 chkwinner(player, hand);
288 gofish(int askedfor, int player, int *hand)
292 if (askedfor == drawcard(player, hand)) {
303 goodmove(int player, int move, int *hand, int *opphand)
309 hand[move] += opphand[move];
312 if (hand[move] == CARDS) {
315 chkwinner(player, hand);
325 chkwinner(int player, const int *hand)
330 if (hand[i] > 0 && hand[i] < CARDS)
366 printhand(const int *hand)
371 if (hand[i] < CARDS)
372 for (j = hand[i]; --j >= 0;)
379 if (hand[i] == CARDS)
386 countcards(const int *hand)
391 count += *hand++;
396 countbooks(const int *hand)
401 if (hand[i] == CARDS) {