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