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