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