BSD 4_4 release
[unix-history] / usr / src / games / monop / monop.6
CommitLineData
fad63ddc
KB
1.\" Copyright (c) 1980 The Regents of the University of California.
2.\" All rights reserved.
e3080b11 3.\"
ad787160
C
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.
fad63ddc 19.\"
ad787160
C
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.5 (Berkeley) 3/25/93
e3080b11
KM
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..
ad787160 47.TH MONOP 6 "March 25, 1993"
e3080b11
KM
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
bee33e9b 56is reminiscent of the Parker Brother's game Monopoly, and
e3080b11
KM
57monitors a game between 1 to 9 users.
58It is assumed that the rules of Monopoly are known.
bee33e9b 59The game follows the standard rules, with the exception that,
6bc80c78 60if a property goes up for auction and there are only two solvent players,
e3080b11
KM
61no auction is held and the property remains unowned.
62.PP
bee33e9b 63The game, in effect, lends the player money,
e3080b11
KM
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. ,
bee33e9b
KM
68make himself solvent, before play can continue.
69If this is not possible, the player's property reverts to his debtee,
e3080b11 70either a player or the bank.
bee33e9b 71A player can resign at any time to any person or the bank,
e3080b11
KM
72which puts the property back on the board, unowned.
73.PP
74Any time that the response to a question is a
75.IR string ,
bee33e9b
KM
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.
e3080b11
KM
78.Sc
79.IR "A Summary of Commands" :
80.Cm quit
bee33e9b 81quit game: This allows you to quit the game. It asks you if you're sure.
e3080b11 82.Cm print
bee33e9b
KM
83print board: This prints out the current board.
84The columns have the following meanings (column headings are the same for the
e3080b11
KM
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
bee33e9b 111Current rent on the property. If it is not owned, there is no rent.
e3080b11
KM
112.RE
113.Cm where
bee33e9b 114where players are: Tells you where all the players are.
e3080b11
KM
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
bee33e9b 121holdings list: Look at anyone's holdings.
e3080b11
KM
122It will ask you whose holdings you wish to look at.
123When you are finished, type \*(lqdone\*(rq.
e3080b11
KM
124.Cm mortgage
125mortgage property:
bee33e9b 126Sets up a list of mortgageable property, and asks which you wish to mortgage.
e3080b11
KM
127.Cm unmortgage
128unmortgage property:
129Unmortgage mortgaged property.
130.Cm buy
131buy houses:
132Sets up a list of monopolies on which you can buy houses.
133If there is more than one, it asks you which you want to buy for.
134It then asks you how many for each piece of property,
135giving the current amount in parentheses after the property name.
136If you build in an unbalanced manner
137(a disparity of more than one house within the same monopoly),
138it asks you to re-input things.
139.Cm sell
140sell houses:
141Sets up a list of monopolies from which you can sell houses.
6bc80c78
AH
142It operates in an analogous manner to
143.I buy.
e3080b11
KM
144.Cm card
145card for jail:
146Use a get-out-of-jail-free card to get out of jail.
bee33e9b 147If you're not in jail, or you don't have one, it tells you so.
e3080b11
KM
148.Cm pay
149pay for jail:
bee33e9b 150Pay $50 to get out of jail, from whence you are put on Just Visiting.
e3080b11
KM
151Difficult to do if you're not there.
152.Cm trade
153This allows you to trade with another player.
154It asks you whom you wish to trade with,
155and then asks you what each wishes to give up.
bee33e9b 156You can get a summary at the end, and, in all cases,
e3080b11
KM
157it asks for confirmation of the trade before doing it.
158.Cm resign
159Resign to another player or the bank.
bee33e9b 160If you resign to the bank, all property reverts to its virgin state,
e3080b11
KM
161and get-out-of-jail free cards revert to the deck.
162.Cm save
163save game:
164Save the current game in a file for later play.
165You can continue play after saving,
166either by adding the file in which you saved the game after the
167.I monop
bee33e9b 168command, or by using the
e3080b11
KM
169.I restore
170command (see below).
171It will ask you which file you wish to save it in,
172and, if the file exists, confirm that you wish to overwrite it.
173.Cm restore
174restore game:
175Read in a previously saved game from a file.
176It leaves the file intact.
177.Cm roll
178Roll the dice and move forward to your new location.
179If you simply hit the <RETURN> key instead of a command,
180it is the same as typing
181.IR roll .
182.Ec
183.SH AUTHOR
184Ken Arnold
185.SH FILES
186/usr/games/lib/cards.pck Chance and Community Chest cards
187.SH BUGS
188No command can be given an argument instead of a response to a query.