Merge from vendor branch OPENSSL:
[dragonfly.git] / games / fish / fish.6
1 .\" Copyright (c) 1990, 1993
2 .\"     The Regents of the University of California.  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      8.1 (Berkeley) 5/31/93
33 .\" $FreeBSD: src/games/fish/fish.6,v 1.3 1999/08/27 23:29:02 peter Exp $
34 .\" $DragonFly: src/games/fish/fish.6,v 1.2 2003/06/17 04:25:23 dillon Exp $
35 .\"
36 .TH FISH 6 "May 31, 1993"
37 .UC 4
38 .SH NAME
39 fish \- play ``Go Fish''
40 .SH SYNOPSIS
41 .ft B
42 fish [\-p]
43 .ft R
44 .SH DESCRIPTION
45 .I Fish
46 is the game
47 .IR "Go Fish" ,
48 a traditional children's card game.
49 .PP
50 The computer deals the player and itself seven cards, and places
51 the rest of the deck face-down (figuratively).
52 The object of the game is to collect ``books'', or all of the members
53 of a single rank.
54 For example, collecting four 2's would give the player a ``book of
55 2's''.
56 .PP
57 The options are as follows:
58 .TP
59 \-p
60 Professional mode.
61 .PP
62 The computer makes a random decision as to who gets to start the
63 game, and then the computer and player take turns asking each other
64 for cards of a specified rank.
65 If the asked player has any cards of the requested rank, they give
66 them up to the asking player.
67 A player must have at least one of the cards of the rank they request
68 in their hand.
69 When a player asks for a rank of which the other player has no
70 cards, the asker is told to ``Go Fish!''.
71 Then, the asker draws a card from the non-dealt cards.
72 If they draw the card they asked for, they continue their turn, asking
73 for more ranks from the other player.
74 Otherwise, the other player gets a turn.
75 .PP
76 When a player completes a book, either by getting cards from the
77 other player or drawing from the deck, they set those cards aside and
78 the rank is no longer in play.
79 .PP
80 The game ends when either player no longer has any cards in their hand.
81 The player with the most books wins.
82 .PP
83 .I Fish
84 provides instructions as to what input it accepts.
85 .SH BUGS
86 The computer cheats only rarely.