This commit was generated by cvs2svn to track changes on a CVS vendor
[unix-history] / games / fish / fish.6
CommitLineData
15637ed4
RG
1.\" Copyright (c) 1990 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\" notice, this list of conditions and the following disclaimer in the
11.\" documentation and/or other materials provided with the distribution.
12.\" 3. All advertising materials mentioning features or use of this software
13.\" must display the following acknowledgement:
14.\" This product includes software developed by the University of
15.\" California, Berkeley and its contributors.
16.\" 4. Neither the name of the University nor the names of its contributors
17.\" may be used to endorse or promote products derived from this software
18.\" without specific prior written permission.
19.\"
20.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)fish.6 6.2 (Berkeley) 1/18/91
33.\"
34.TH FISH 6 "January 18, 1991"
35.UC 4
36.SH NAME
37fish \- play ``Go Fish''
38.SH SYNOPSIS
39.ft B
40fish [\-p]
41.ft R
42.SH DESCRIPTION
43.I Fish
44is the game
45.IR "Go Fish" ,
46a traditional children's card game.
47.PP
48The computer deals the player and itself seven cards, and places
49the rest of the deck face-down (figuratively).
50The object of the game is to collect ``books'', or all of the members
51of a single rank.
52For example, collecting four 2's would give the player a ``book of
532's''.
54.PP
55The options are as follows:
56.TP
57\-p
58Professional mode.
59.PP
60The computer makes a random decision as to who gets to start the
61game, and then the computer and player take turns asking each other
62for cards of a specified rank.
63If the asked player has any cards of the requested rank, they give
64them up to the asking player.
65A player must have at least one of the cards of the rank they request
66in their hand.
67When a player asks for a rank of which the other player has no
68cards, the asker is told to ``Go Fish!''.
69Then, the asker draws a card from the non-dealt cards.
70If they draw the card they asked for, they continue their turn, asking
71for more ranks from the other player.
72Otherwise, the other player gets a turn.
73.PP
74When a player completes a book, either by getting cards from the
75other player or drawing from the deck, they set those cards aside and
76the rank is no longer in play.
77.PP
78The game ends when either player no longer has any cards in their hand.
79The player with the most books wins.
80.PP
81.I Fish
82provides instructions as to what input it accepts.
83.SH BUGS
84The computer cheats only rarely.