fish - play ``Go Fish''
fish is the game ``Go Fish'', a traditional children's card
The computer deals the player and itself seven cards each,
and places the
rest of the deck face-down (figuratively), to be drawn from
object of the game is to collect ``books'', or all of the
cards of a given
rank. For example, collecting four 2's would give the
player a ``book
The options are as follows:
-p Professional mode.
The computer makes a random decision as to who gets to start
and then the computer and player take turns asking each other for cards
by rank. If the asked player has any cards of the requested
must be given up to the asking player. There must be at
least one card
of the requested rank already in the asking player's hand.
asked player has no cards of the requested rank, the asker
is told to
``Go Fish!'' Then, the asker draws a card from the deck. If
drawn is of the rank asked for, the turn continues; otherwise, it becomes
the other player's turn.
When a player completes a book, either by getting cards from
player or by drawing from the deck, those cards are set
aside and the
rank is no longer in play.
The game ends when one player no longer has any cards. The
the most books wins.
fish provides instructions as to what input it accepts.
The computer cheats only rarely.
OpenBSD 3.6 May 31, 1993
[ Back ]