386BSD 0.1 development
[unix-history] / usr / othersrc / games / monop / monop.6
CommitLineData
a526c416
WJ
1.\" Copyright (c) 1980 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.\" @(#)monop.6 6.4 (Berkeley) 6/23/90
33.\"
34.de Sc \" start command list macro
35.ie n .PD 0
36.el .PD 0.5
37.sp
38..
39.de Cm \" define command macro
40.TP 10
41.ie t .BR "\\$1" :
42.el .IR "\\$1" :
43..
44.de Ec \" end command macro
45.PD 1
46..
47.TH MONOP 6 "June 23, 1990"
48.UC 4
49.SH NAME
50monop \- Monopoly game
51.SH SYNOPSIS
52.B /usr/games/monop
53[ file ]
54.SH DESCRIPTION
55.I Monop
56is reminiscent of the Parker Brother's game Monopoly, and
57monitors a game between 1 to 9 users.
58It is assumed that the rules of Monopoly are known.
59The game follows the standard rules, with the exception that,
60if a property goes up for auction and there are only two solvent players,
61no auction is held and the property remains unowned.
62.PP
63The game, in effect, lends the player money,
64so it is possible to buy something which you cannot afford.
65However, as soon as a person goes into debt,
66he must \*(lqfix the problem\*(rq,
67.IR i.e. ,
68make himself solvent, before play can continue.
69If this is not possible, the player's property reverts to his debtee,
70either a player or the bank.
71A player can resign at any time to any person or the bank,
72which puts the property back on the board, unowned.
73.PP
74Any time that the response to a question is a
75.IR string ,
76e.g., a name, place or person, you can type `?' to get a list of valid answers.
77It is not possible to input a negative number, nor is it ever necessary.
78.Sc
79.IR "A Summary of Commands" :
80.Cm quit
81quit game: This allows you to quit the game. It asks you if you're sure.
82.Cm print
83print board: This prints out the current board.
84The columns have the following meanings (column headings are the same for the
85.BR where ,
86.BR "own holdings" ,
87and
88.B holdings
89commands):
90.PP
91.RS 10
92.TP "\w'Name\ \ 'u"
93Name
94The first ten characters of the name of the square
95.TP
96Own
97The \fInumber\fR of the owner of the property.
98.TP
99Price
100The cost of the property (if any)
101.TP
102Mg
103This field has a `*' in it if the property is mortgaged
104.TP
105#
106If the property is a Utility or Railroad, this is the number
107of such owned by the owner.
108If the property is land, this is the number of houses on it.
109.TP
110Rent
111Current rent on the property. If it is not owned, there is no rent.
112.RE
113.Cm where
114where players are: Tells you where all the players are.
115A `*' indicates the current player.
116.Cm "own\ holdings"
117List your own holdings,
118.IR i.e. ,
119money, get-out-of-jail-free cards, and property.
120.Cm holdings
121holdings list: Look at anyone's holdings.
122It will ask you whose holdings you wish to look at.
123When you are finished, type \*(lqdone\*(rq.
124.Cm shell
125shell escape: Escape to a shell. When the shell dies,
126the program continues where you left off.
127.Cm mortgage
128mortgage property:
129Sets up a list of mortgageable property, and asks which you wish to mortgage.
130.Cm unmortgage
131unmortgage property:
132Unmortgage mortgaged property.
133.Cm buy
134buy houses:
135Sets up a list of monopolies on which you can buy houses.
136If there is more than one, it asks you which you want to buy for.
137It then asks you how many for each piece of property,
138giving the current amount in parentheses after the property name.
139If you build in an unbalanced manner
140(a disparity of more than one house within the same monopoly),
141it asks you to re-input things.
142.Cm sell
143sell houses:
144Sets up a list of monopolies from which you can sell houses.
145It operates in an analogous manner to
146.I buy.
147.Cm card
148card for jail:
149Use a get-out-of-jail-free card to get out of jail.
150If you're not in jail, or you don't have one, it tells you so.
151.Cm pay
152pay for jail:
153Pay $50 to get out of jail, from whence you are put on Just Visiting.
154Difficult to do if you're not there.
155.Cm trade
156This allows you to trade with another player.
157It asks you whom you wish to trade with,
158and then asks you what each wishes to give up.
159You can get a summary at the end, and, in all cases,
160it asks for confirmation of the trade before doing it.
161.Cm resign
162Resign to another player or the bank.
163If you resign to the bank, all property reverts to its virgin state,
164and get-out-of-jail free cards revert to the deck.
165.Cm save
166save game:
167Save the current game in a file for later play.
168You can continue play after saving,
169either by adding the file in which you saved the game after the
170.I monop
171command, or by using the
172.I restore
173command (see below).
174It will ask you which file you wish to save it in,
175and, if the file exists, confirm that you wish to overwrite it.
176.Cm restore
177restore game:
178Read in a previously saved game from a file.
179It leaves the file intact.
180.Cm roll
181Roll the dice and move forward to your new location.
182If you simply hit the <RETURN> key instead of a command,
183it is the same as typing
184.IR roll .
185.Ec
186.SH AUTHOR
187Ken Arnold
188.SH FILES
189/usr/games/lib/cards.pck Chance and Community Chest cards
190.SH BUGS
191No command can be given an argument instead of a response to a query.