579dd73af21e95b1af4fd09d5a56a1502870ac9e
[dragonfly.git] / games / mille / mille.6
1 .\" Copyright (c) 1983, 1993
2 .\"     The Regents of the University of California.  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 .\"     @(#)mille.6     8.2 (Berkeley) 12/30/93
33 .\" $FreeBSD: src/games/mille/mille.6,v 1.4.2.1 2001/07/22 11:01:22 dd Exp $
34 .\" $DragonFly: src/games/mille/mille.6,v 1.3 2007/12/16 11:44:19 swildner Exp $
35 .\"
36 .Dd December 30, 1993
37 .Dt MILLE 6
38 .Os
39 .Sh NAME
40 .Nm mille
41 .Nd play Mille Bornes
42 .Sh SYNOPSIS
43 .Nm
44 .Op Ar file
45 .Sh DESCRIPTION
46 .Nm Mille
47 plays a two-handed game reminiscent of
48 the Parker Brother's game of Mille Bornes with you.
49 The rules are described below.
50 If a file name is given on the command line,
51 the game saved in that file is started.
52 .Pp
53 When a game is started up,
54 the bottom of the score window will contain a list of commands.
55 They are:
56 .Pp
57 .Bl -tag -width "xxxxxx" -offset indent
58 .It Ic P
59 Pick a card from the deck.
60 This card is placed in the `P' slot in your hand.
61 .It Ic D
62 Discard a card from your hand.
63 To indicate which card, type the number of the card in the hand (or
64 .Ic P
65 for the just-picked card) followed by a <RETURN> or <SPACE>.
66 The <RETURN or <SPACE> is required to allow recovery from typos
67 which can be very expensive, like discarding safeties.
68 .It Ic U
69 Use a card.
70 The card is again indicated by its number, followed by a <RETURN> or <SPACE>.
71 .It Ic O
72 Toggle ordering the hand.
73 By default off, if turned on it will sort the cards in your hand appropriately.
74 This is not recommended for the impatient on slow terminals.
75 .It Ic Q
76 Quit the game.
77 This will ask for confirmation, just to be sure.
78 Hitting <DELETE> (or <RUBOUT>) is equivalent.
79 .It Ic S
80 Save the game in a file.
81 If the game was started from a file,
82 you will be given an opportunity to save it on the same file.
83 If you don't wish to, or you did not start from a file,
84 you will be asked for the file name.
85 If you type a <RETURN> without a name,
86 the save will be terminated and the game resumed.
87 .It Ic R
88 Redraw the screen from scratch.
89 The command ^L (control `L') will also work.
90 .It Ic W
91 Toggle window type.
92 This switches the score window between the startup window
93 (with all the command names) and the end-of-game window.
94 Using the end-of-game window
95 saves time by eliminating the switch at the end of the game
96 to show the final score.
97 Recommended for hackers and other miscreants.
98 .El
99 .Pp
100 If you make a mistake, an error message will be printed
101 on the last line of the score window, and a bell will beep.
102 .Pp
103 At the end of each hand or game,
104 you will be asked if you wish to play another.
105 If not, it will ask you if you want to save the game.
106 If you do, and the save is unsuccessful,
107 play will be resumed as if you had said you wanted to play another hand/game.
108 This allows you to use the
109 .Ic S
110 command to reattempt the save.
111 .Sh CARDS
112 Here is some useful information.
113 The number in parentheses after the card name
114 is the number of that card in the deck:
115 .Bl -column "Speed Limit (3)" "Speed Limit (3)" "End of Limit (6)"
116 .It Sy Hazard Ta Sy Repair Ta Sy Safety
117 .It Out of Gas (2) Ta Gasoline (6) Ta Extra Tank (1)
118 .It Flat Tire (2) Ta Spare Tire (6) Ta Puncture Proof (1)
119 .It Accident (2) Ta Repairs (6) Ta Driving Ace (1)
120 .It Stop (4) Ta Go (14) Ta Right of Way (1)
121 .It Speed Limit (3) Ta End of Limit (6)
122 .El
123 .Bd -centered
124 25 \- (10), 50 \- (10), 75 \- (10), 100 \- (12), 200 \- (4)
125 .Ed
126 .Sh RULES
127 .Ss Object
128 The point of this game is to get a total of 5000 points in several hands.
129 Each hand is a race to put down exactly 700 miles before your opponent does.
130 Beyond the points gained by putting down milestones,
131 there are several other ways of making points.
132 .Ss Overview
133 The game is played with a deck of 101 cards.
134 .Em Distance
135 cards represent a number of miles traveled.
136 They come in denominations of 25, 50, 75, 100, and 200.
137 When one is played,
138 it adds that many miles to the player's trip so far this hand.
139 .Em Hazard
140 cards are used to prevent your opponent from putting down Distance cards.
141 They can only be played if your opponent has a
142 .Em Go
143 card on top of the Battle pile.
144 The cards are
145 .Sq Out of Gas ,
146 .Sq Accident ,
147 .Sq Flat Tire ,
148 .Sq Speed Limit ,
149 and
150 .Sq Stop .
151 .Em Remedy
152 cards fix problems caused by Hazard cards played on you by your opponent.
153 The cards are
154 .Sq Gasoline ,
155 .Sq Repairs ,
156 .Sq Spare Tire ,
157 .Sq End of Limit ,
158 and
159 .Sq Go .
160 .Em Safety
161 cards prevent your opponent from putting specific Hazard cards on you
162 in the first place.
163 They are
164 .Sq Extra Tank ,
165 .Sq Driving Ace ,
166 .Sq Puncture Proof ,
167 and
168 .Sq Right of Way ,
169 and there are only one of each in the deck.
170 .Ss Board Layout
171 The board is split into several areas.
172 From top to bottom, they are:
173 .Sy SAFETY AREA
174 (unlabeled): This is where the safeties will be placed as they are played.
175 .Sy HAND :
176 These are the cards in your hand.
177 .Sy BATTLE :
178 This is the Battle pile.
179 All the Hazard and Remedy Cards are played here, except the
180 .Sq Speed Limit
181 and
182 .Sq End of Limit
183 cards.  Only the top card is displayed, as it is the only effective one.
184 .Sy SPEED :
185 The Speed pile.  The
186 .Sq Speed Limit
187 and
188 .Sq End of Limit
189 cards are played here
190 to control the speed at which the player is allowed to put down miles.
191 .Sy MILEAGE :
192 Miles are placed here.
193 The total of the numbers shown here is the distance traveled so far.
194 .Ss Play
195 The first pick alternates between the two players.
196 Each turn usually starts with a pick from the deck.
197 The player then plays a card, or if this is not possible or desirable,
198 discards one.
199 Normally, a play or discard of a single card constitutes a turn.
200 If the card played is a safety, however,
201 the same player takes another turn immediately.
202 .Pp
203 This repeats until one of the players reaches 700 points or the deck runs out.
204 If someone reaches 700, they have the option of going for an
205 .Dq Extension ,
206 which means that the play continues until someone reaches 1000 miles.
207 .Ss Hazard and Remedy Cards
208 Hazard Cards are played on your opponent's Battle and Speed piles.
209 Remedy Cards are used for undoing the effects of your opponent's nastiness.
210 .Bl -tag -width ".Sq Go (Green Light)" -offset indent
211 .It Sq Go (Green Light)
212 must be the top card on your Battle pile for you to play any mileage,
213 unless you have played the
214 .Sq Right of Way
215 card (see below).
216 .It Sq Stop
217 is played on your opponent's
218 .Sq Go
219 card to prevent them from playing mileage until they play a
220 .Sq Go
221 card.
222 .It Sq Speed Limit
223 is played on your opponent's Speed pile.
224 Until they play an
225 .Sq End of Limit
226 they can only play 25 or 50 mile cards, presuming their
227 .Sq Go
228 card allows them to do even that.
229 .It Sq End of Limit
230 is played on your Speed pile to nullify a
231 .Sq Speed Limit
232 played by your opponent.
233 .It Sq Out of Gas
234 is played on your opponent's
235 .Sq Go
236 card.
237 They must then play a
238 .Sq Gasoline
239 card, and then a
240 .Sq Go
241 card before they can play any more mileage.
242 .It Sq Flat Tire
243 is played on your opponent's
244 .Sq Go
245 card.
246 They must then play a
247 .Sq Spare Tire
248 card, and then a
249 .Sq Go
250 card before they can play any more mileage.
251 .It Sq Accident
252 is played on your opponent's
253 .Sq Go
254 card.
255 They must then play a
256 .Sq Repairs
257 card, and then a
258 .Sq Go
259 card before they can play any more mileage.
260 .El
261 .Ss Safety Cards
262 Safety cards prevent your opponent
263 from playing the corresponding Hazard cards on you for the rest of the hand.
264 It cancels an attack in progress, and
265 .Em always entitles the player to an extra turn .
266 .Bl -tag -width ".Sq Puncture Proof" -offset indent
267 .It Sq Right of Way
268 prevents your opponent from playing both
269 .Sq Stop
270 and
271 .Sq Speed Limit
272 cards on you.
273 It also acts as a permanent
274 .Sq Go
275 card for the rest of the hand, so you can play mileage
276 as long as there is not a Hazard card on top of your Battle pile.
277 In this case only, your opponent can play Hazard cards directly on a
278 Remedy card other than a Go card.
279 .It Sq Extra Tank
280 When played, your opponent cannot play an
281 .Sq Out of Gas
282 on your Battle Pile.
283 .It Sq Puncture Proof
284 When played, your opponent cannot play a
285 .Sq Flat Tire
286 on your Battle Pile.
287 .It Sq Driving Ace
288 When played, your opponent cannot play an
289 .Sq Accident
290 on your Battle Pile.
291 .El
292 .Ss Distance Cards
293 Distance cards are played when you have a
294 .Sq Go
295 card on your Battle pile,
296 or a Right of Way in your Safety area and are not stopped by a Hazard Card.
297 They can be played in any combination that totals exactly 700 miles,
298 except that
299 .Em you cannot play more than two 200 mile cards in one hand .
300 A hand ends whenever one player gets exactly 700 miles or the deck runs out.
301 In that case, play continues until neither someone reaches 700,
302 or neither player can use any cards in their hand.
303 If the trip is completed after the deck runs out, this is called
304 .Dq Delayed Action .
305 .Ss Coup Fourr\(aae
306 This is a French fencing term for a counter-thrust move as part of a parry
307 to an opponent's attack.
308 In current French colloquial language it means a sneaky, underhanded blow.
309 In Mille Bornes, it is used as follows:
310 If an opponent plays a Hazard card,
311 and you have the corresponding Safety in your hand,
312 you play it immediately, even
313 .Em before
314 you draw.
315 This immediately removes the Hazard card from your Battle pile,
316 and protects you from that card for the rest of the game.  This
317 gives you more points (see
318 .Sx Scoring
319 below).
320 .Ss Scoring :
321 Scores are totaled at the end of each hand,
322 whether or not anyone completed the trip.
323 The terms used in the Score window have the following meanings:
324 .Bl -tag -width ".Sy Milestones Played" -offset indent
325 .It Sy Milestones Played
326 Each player scores as many miles as they played before the trip ended.
327 .It Sy Each Safety
328 100 points for each safety in the Safety area.
329 .It Sy All 4 Safeties
330 300 points if all four safeties are played.
331 .It Sy Each Coup Fourr\(aae
332 300 points for each Coup Fourr\(aae accomplished.
333 .El
334 .Pp
335 The following bonus scores can apply only to the winning player.
336 .Bl -tag -width ".Sy Trip Completed" -offset indent
337 .It Sy Trip Completed
338 400 points bonus for completing the trip to 700 or 1000.
339 .It Sy Safe Trip
340 300 points bonus for completing the trip without using any 200 mile cards.
341 .It Sy Delayed Action
342 300 points bonus for finishing after the deck was exhausted.
343 .It Sy Extension
344 200 points bonus for completing a 1000 mile trip.
345 .It Sy Shut-Out
346 500 points bonus for completing the trip
347 before your opponent played any mileage cards.
348 .El
349 .Pp
350 Running totals are also kept for the current score for each player
351 for the hand
352 .Sy ( Hand Total ) ,
353 the game
354 .Sy ( Overall Total ) ,
355 and number of games won
356 .Sy ( Games ) .
357 .Sh SEE ALSO
358 .Xr curses 3
359 .Pp
360 .Rs
361 .%T "Screen Updating and Cursor Movement Optimization: A Library Package"
362 .%A Ken Arnold
363 .Re
364 .Sh AUTHORS
365 Ken Arnold
366 .Pp
367 The game itself is a product of Parker Brothers, Inc.