xref: /netbsd/games/canfield/canfield/canfield.6 (revision bf9ec67e)
1.\"	$NetBSD: canfield.6,v 1.7 2001/04/02 22:47:30 wiz Exp $
2.\"
3.\" Copyright (c) 1983, 1993
4.\"	The Regents of the University of California.  All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright
10.\"    notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\"    notice, this list of conditions and the following disclaimer in the
13.\"    documentation and/or other materials provided with the distribution.
14.\" 3. All advertising materials mentioning features or use of this software
15.\"    must display the following acknowledgement:
16.\"	This product includes software developed by the University of
17.\"	California, Berkeley and its contributors.
18.\" 4. Neither the name of the University nor the names of its contributors
19.\"    may be used to endorse or promote products derived from this software
20.\"    without specific prior written permission.
21.\"
22.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
23.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
26.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32.\" SUCH DAMAGE.
33.\"
34.\"	@(#)canfield.6	8.1 (Berkeley) 5/31/93
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
49If you have never played solitaire before, it is recommended
50that you consult a solitaire instruction book. In
51Canfield, tableau cards may be built on each other downward
52in alternate colors. An entire pile must be moved as a unit
53in building. Top cards of the piles are available
54to be played on foundations, but never into empty spaces.
55.Pp
56Spaces must be filled from the stock. The top card of
57the stock also is available to be played on foundations or
58built on tableau piles. After the stock is exhausted,
59tableau spaces may be filled from the talon and the player may
60keep them open until he wishes to use them.
61.Pp
62Cards are dealt from the hand to the talon by threes
63and this repeats until there are no more cards in the hand
64or the player quits. To have cards dealt onto the talon the
65player types
66.Sq Ic ht
67for his move. Foundation base cards are
68also automatically moved to the foundation when they become
69available.
70.Pp
71The command
72.Sq Ic c
73causes
74.Nm
75to maintain card counting statistics
76on the bottom of the screen.
77When properly used this can greatly increase one's chances of
78winning.
79.Pp
80The rules for betting are somewhat less strict than
81those used in the official version of the game.
82The initial deal costs $13.
83You may quit at this point or inspect the game.
84Inspection costs $13 and allows you to make as many
85moves as possible without moving any cards from your hand
86to the talon.
87(The initial deal places three cards on the talon;
88if all these cards are used,
89three more are made available.)
90Finally, if the game seems interesting,
91you must pay the final installment of $26.
92At this point you are
93credited at the rate of $5 for each card on the foundation;
94as the game progresses you are credited with $5 for each
95card that is moved to the foundation.
96Each run through the hand after the first costs $5.
97The card counting feature
98costs $1 for each unknown card that is identified.
99If the information is toggled on,
100you are only charged for cards
101that became visible since it was last turned on.
102Thus the maximum cost of information is $34.
103Playing time is charged at a rate of $1 per minute.
104.Pp
105With no arguments, the program
106.Nm cfscores
107prints out the current status of your canfield account.
108If a
109.Ar user
110name is specified,
111it prints out the status of their canfield account.
112If the
113.Fl a
114flag is specified,
115it prints out the canfield accounts for all users that have
116played the game since the database was set up.
117.Sh FILES
118.Bl -tag -width /usr/games/canfield -compact
119.It Pa /usr/games/canfield
120the game itself
121.It Pa /usr/games/cfscores
122the database printer
123.It Pa /var/games/cfscores
124the database of scores
125.El
126.Sh BUGS
127It is impossible to cheat.
128.Sh AUTHORS
129Originally written: Steve Levine.
130.Pp
131Further random hacking by: Steve Feldman, Kirk McKusick,
132Mikey Olson, and Eric Allman.
133