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