Use .Nm
[dragonfly.git] / games / canfield / canfield / canfield.6
1 .\" Copyright (c) 1983, 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 .\"     @(#)canfield.6  8.1 (Berkeley) 5/31/93
33 .\" $FreeBSD: src/games/canfield/canfield/canfield.6,v 1.4.2.2 2001/07/22 11:32:35 dd Exp $
34 .\" $DragonFly: src/games/canfield/canfield/canfield.6,v 1.4 2007/10/20 17:56:47 swildner Exp $
35 .\"
36 .Dd May 31, 1993
37 .Dt CANFIELD 6
38 .Os
39 .Sh NAME
40 .Nm canfield ,
41 .Nm cfscores
42 .Nd the solitaire card game canfield
43 .Sh SYNOPSIS
44 .Nm
45 .Nm cfscores
46 .Op Fl a
47 .Op Ar user
48 .Sh DESCRIPTION
49 If you have never played solitaire before, it is recommended
50 that you consult a solitaire instruction book. In
51 Canfield, tableau cards may be built on each other downward
52 in alternate colors. An entire pile must be moved as a unit
53 in building. Top cards of the piles are available
54 to be played on foundations, but never into empty spaces.
55 .Pp
56 Spaces must be filled from the stock. The top card of
57 the stock also is available to be played on foundations or
58 built on tableau piles. After the stock is exhausted,
59 tableau spaces may be filled from the talon and the player may
60 keep them open until he wishes to use them.
61 .Pp
62 Cards are dealt from the hand to the talon by threes
63 and this repeats until there are no more cards in the hand
64 or the player quits.
65 To have cards dealt onto the talon the player types
66 .Sq Ic ht
67 for his move.
68 Foundation base cards are also automatically moved to the foundation
69 when they become available.
70 .Pp
71 The command
72 .Sq Ic c
73 causes
74 .Nm
75 to maintain card counting statistics on the bottom of the screen.
76 When properly used this can greatly increase one's chances of winning.
77 .Pp
78 The rules for betting are somewhat less strict than
79 those used in the official version of the game.
80 The initial deal costs $13.
81 You may quit at this point or inspect the game.
82 Inspection costs $13 and allows you to make as many
83 moves as possible without moving any cards from your hand to the talon.
84 (The initial deal places three cards on the talon;
85 if all these cards are used, three more are made available.)
86 Finally, if the game seems interesting,
87 you must pay the final installment of $26.
88 At this point you are
89 credited at the rate of $5 for each card on the foundation;
90 as the game progresses you are credited with $5 for each
91 card that is moved to the foundation.
92 Each run through the hand after the first costs $5.
93 The card counting feature
94 costs $1 for each unknown card that is identified.
95 If the information is toggled on, you are only charged for cards
96 that became visible since it was last turned on.
97 Thus the maximum cost of information is $34.
98 Playing time is charged at a rate of $1 per minute.
99 .Pp
100 With no arguments, the program
101 .Nm cfscores
102 prints out the current status of your
103 .Nm
104 account.
105 If a
106 .Ar user
107 name is specified, it prints out the status of their
108 .Nm
109 account.
110 If the
111 .Fl a
112 flag is specified,
113 it prints out the
114 .Nm
115 accounts for all users that have
116 played the game since the database was set up.
117 .Sh FILES
118 .Bl -tag -width ".Pa /usr/games/canfield" -compact
119 .It Pa /usr/games/canfield
120 the game itself
121 .It Pa /usr/games/cfscores
122 the database printer
123 .It Pa /var/games/cfscores
124 the database of scores
125 .El
126 .Sh AUTHORS
127 .An -nosplit
128 Originally written:
129 .An Steve Levine
130 .Pp
131 Further random hacking by:
132 .An Steve Feldman ,
133 .An Kirk McKusick ,
134 .An Mikey Olson ,
135 and
136 .An Eric Allman .
137 .Sh BUGS
138 It is impossible to cheat.