xref: /netbsd/games/hunt/hunt/hunt.6 (revision bf9ec67e)
1.\"	$NetBSD: hunt.6,v 1.5 2002/02/08 01:25:13 ross Exp $
2.\"
3.\"  hunt
4.\"  Copyright (c) 1985 Conrad C. Huang, Gregory S. Couch, Kenneth C.R.C. Arnold
5.\"  San Francisco, California
6.\"
7.\"  Copyright (c) 1985 Regents of the University of California.
8.\"  All rights reserved.  The Berkeley software License Agreement
9.\"  specifies the terms and conditions for redistribution.
10.\"
11.Dd April 4, 2001
12.Dt HUNT 6
13.Sh NAME
14.Nm hunt
15.Nd a multi-player multi-terminal game
16.Sh SYNOPSIS
17.Nm
18.Op Fl bcfmqSs
19.Op Fl n Ar name
20.Op Fl t Ar team
21.Op Fl p Ar port
22.Op Fl w Ar message
23.Op Ar host
24.Sh DESCRIPTION
25The object of the game
26.Nm
27is to kill off the other players.
28There are no rooms, no treasures, and no monsters.
29Instead, you wander around a maze, find grenades, trip mines, and shoot down
30walls and players.
31The more players you kill before you die, the better your score is.
32If the
33.Fl m
34flag is given,
35you enter the game as a monitor
36(you can see the action but you cannot play).
37.Pp
38.Nm
39normally looks for an active game on the local network;
40if none is found, it starts one up on the local host.
41The location of the game may be specified by giving the
42.Ar host
43argument.
44This presupposes that a hunt game is already running on that host, see
45.Xr huntd 6
46for details on how to setup a game on a specific host.
47If more than one game if found,
48you may pick which game to play in.
49.Pp
50If the
51.Fl q
52flag is given,
53.Nm
54queries the local network (or specific host)
55and reports on all active games found.
56This is useful for shell startup scripts, e.g.\&
57.Xr csh 1 Ns 's No .login .
58.Pp
59The player name may be specified on the command line by using the
60.Fl n
61option.
62.Pp
63The
64.Fl c ,
65.Fl s ,
66and
67.Fl f
68options are for entering the game cloaked, scanning, or flying respectively.
69.Pp
70The
71.Fl b
72option turns off beeping when you reach the typeahead limit.
73.Pp
74The
75.Fl t
76option aids team playing by making everyone else on one's team
77appear as the team name.
78A team name is a single digit to avoid conflicting with other characters
79used in the game.
80.Pp
81The
82.Fl p Ar port
83option allows the rendezvous port number to be set.
84This is a useful way for people playing on dialup lines to avoid playing
85with people on 9600 baud terminals.
86.Pp
87The
88.Fl w Ar message
89option is the only way to send a message to everyone else's screen when
90you start up.
91It is most often used to say
92.Dq eat slime death - NickD's coming in .
93.Pp
94When you die and are asked if you wish to re-enter the game,
95there are other answers than just yes or no.
96You can also reply with a
97.Ic w
98for write a message before continuing or
99.Ic o
100to change how you enter the game (cloaked, scanning, or flying).
101.Pp
102To be notified automatically when a
103.Nm
104starts up, add your login to the
105.Em hunt-players
106mailing list (see
107.Xr huntd 6 ) .
108.Sh PLAYING HINTS
109.Nm
110only works on crt (vdt) terminals with at least 24 lines, 80 columns, and
111cursor addressing.
112The screen is divided in to 3 areas.
113On the right hand side is the status area.
114It shows damage sustained,
115charges remaining,
116who's in the game,
117who's scanning (the
118.Dq *
119in front of the name),
120who's cloaked (the
121.Dq +
122in front of the name),
123and other players' scores.
124The rest of the screen is taken up by your map of the maze.
125The 24th line
126is used for longer messages that don't fit in the status area.
127.Pp
128.Nm
129uses the same keys to move as
130.Xr vi 1
131does, i.e.,
132.Ic h ,
133.Ic j ,
134.Ic k ,
135and
136.Ic l
137for left, down, up, right respectively.
138To change which direction you're facing in the maze,
139use the upper case version of the movement key (i.e.,
140.Ic HJKL ) .
141You can only fire or throw things in the direction you're facing.
142.Bl -tag -width xxxxxxx
143Other commands are:
144.It Ic f No or Ic 1
145Fire a bullet (Takes 1 charge)
146.It Ic g No or Ic 2
147Throw grenade (Takes 9 charges)
148.It Ic F No or Ic 3
149Throw satchel charge (Takes 25 charges)
150.It Ic G No or Ic 4
151Throw bomb (Takes 49 charges)
152.It Ic 5
153Throw big bomb (Takes 81 charges)
154.It Ic 6
155Throw even bigger bomb (Takes 121 charges)
156.It Ic 7
157Throw even more big bomb (Takes 169 charges)
158.It Ic 8
159Throw even more bigger bomb (Takes 225 charges)
160.It Ic 9
161Throw very big bomb (Takes 289 charges)
162.It Ic 0
163Throw very, very big bomb (Takes 361 charges)
164.It Ic @
165Throw biggest bomb (Takes 441 charges)
166.It Ic o
167Throw small slime (Takes 15 charges)
168.It Ic O
169Throw big slime (Takes 30 charges)
170.It Ic p
171Throw bigger slime (Takes 45 charges)
172.It Ic P
173Throw biggest slime (Takes 60 charges)
174.It Ic s
175Scan (show where other players are) (Takes 1 charge)
176.It Ic c
177Cloak (hide from scanners) (Takes 1 charge)
178.It Ic ^L
179Redraw screen
180.It Ic q
181Quit
182.El
183.Pp
184The symbols on the screen are:
185.Bl -tag -width xxxxx -compact -offset indent
186.It -|+
187walls
188.It /\e
189diagonal (deflecting) walls
190.It #
191doors (dispersion walls)
192.It ;
193small mine
194.It g
195large mine
196.It :
197bullet
198.It o
199grenade
200.It O
201satchel charge
202.It @
203bomb
204.It s
205small slime
206.It $
207big slime
208.It \*[Gt]\*[Lt]^v
209you facing right, left, up, or down
210.It }{i!
211other players facing right, left, up, or down
212.It *
213explosion
214.It \e|/
215.It -*-
216grenade and large mine explosion
217.It /|\e
218.El
219.Pp
220Other helpful hints:
221.Bl -bullet
222.It
223You can only fire in the direction you are facing.
224.It
225You can only fire three shots in a row, then the gun must cool off.
226.It
227Shots move 5 times faster than you do.
228.It
229To stab someone,
230you face that player and move at them.
231.It
232Stabbing does 2 points worth of damage and shooting does 5 points.
233.It
234Slime does 5 points of damage each time it hits.
235.It
236You start with 15 charges and get 5 more every time a player enters
237or re-enters.
238.It
239Grenade explosions cover a 3 by 3 area, each larger bomb cover a
240correspondingly larger area (ranging from 5 by 5 to 21 by 21).
241All explosions are centered around the square the shot hits and
242do the most damage in the center.
243.It
244Slime affects all squares it oozes over.
245The number of squares is equal to the number of charges used.
246.It
247One small mine and one large mine is placed in the maze for every new player.
248A mine has a 2% probability of tripping when you walk forward on to it;
24950% when going sideways;
25095% when backing up.
251Tripping a mine costs you 5 points or 10 points respectively.
252Defusing a mine is worth 1 charge or 9 charges respectively.
253.It
254You cannot see behind you.
255.It
256Cloaking consumes 1 ammo charge per 20 of your moves.
257.It
258Scanning consumes 1 ammo charge per (20 \(mu the number of players)
259of other player moves.
260.It
261Turning on cloaking turns off scanning \(em turning on scanning turns off
262cloaking.
263.It
264When you kill someone,
265you get 2 more damage capacity points and 2 damage points get taken away.
266.It
267Maximum typeahead is 5 characters.
268.It
269A shot destroys normal (i.e., non-diagonal, non-door) walls.
270.It
271Diagonal walls deflect shots and change orientation.
272.It
273Doors disperse shots in random directions (up, down, left, right).
274.It
275Diagonal walls and doors cannot be destroyed by direct shots but may
276be destroyed by an adjacent grenade explosion.
277.It
278Slime goes around walls, not through them.
279.It
280Walls regenerate, reappearing in the order they were destroyed.
281One percent of the regenerated walls will be diagonal walls or doors.
282When a wall is generated directly beneath a player, he is thrown in
283a random direction for a random period of time.  When he lands, he
284sustains damage (up to 20 percent of the amount of damage already
285sustained); i.e.,
286the less damage he had, the more nimble he is and
287therefore less likely to hurt himself on landing.
288.\"MP
289.\"There is a volcano close to the center of the maze which goes off
290.\"close to every 30 deaths.
291.It
292Every 30 deaths or so, a
293.Dq ?
294will appear.
295It is a wandering bomb which will explode when it hits someone, or
296when it is slimed.
297.It
298If no one moves, everything stands still.
299.It
300The environment variable
301.Ev HUNT
302is checked to get the player name.
303If you don't have this variable set,
304.Nm
305will ask you what name you want to play under.
306If you wish to set other options than just your name,
307you can enumerate the options as follows:
308.Dl setenv HUNT "name=Sneaky,team=1,cloak,mapkey=zoFfGg1f2g3F4G"
309sets the player name to Sneaky,
310sets the team to one,
311sets the enter game attribute to cloaked,
312and the maps
313.Ic z
314to
315.Ic o , F
316to
317.Ic f , G
318to
319.Ic g , 1
320to
321.Ic f , 2
322to
323.Ic g , 3
324to
325.Ic F ,
326and
327.Ic 4
328to
329.Ic G .
330The
331.Ar mapkey
332option must be last.
333Other options are:
334.Ar scan , fly , nobeep , port=string , host=string ,
335and
336.Ar message=string
337\(em which correspond to the command line options.
338String options cannot contain commas since commas
339are used to separate options.
340.It
341It's a boring game if you're the only one playing.
342.El
343.Pp
344Your score is the decayed average of the ratio of number of kills to number
345of times you entered the game and is only kept for the duration
346of a single session of
347.Nm .
348.Pp
349.Nm
350normally drives up the load average to be approximately
351(number_of_players + 0.5) greater than it would be without a
352.Nm
353game executing.
354.Sh STATISTICS
355The
356.Fl S
357option fetches the current game statistics.
358The meaning of the column headings are as follows:
359.Bl -tag -width ducked
360.It score
361the player's last score
362.It ducked
363how many shots a player ducked
364.It absorb
365how many shots a player absorbed
366.It faced
367how many shots were fired at player's face
368.It shot
369how many shots were fired at player
370.It robbed
371how many of player's shots were absorbed
372.It missed
373how many of player's shots were ducked
374.It slimeK
375how many slime kills player had
376.It enemy
377how many enemies were killed
378.tI friend
379how many friends were killed (self and same team)
380.It deaths
381how many times player died
382.It still
383how many times player died without typing in any commands
384.It saved
385how many times a shot/bomb would have killed player if he hadn't
386ducked or absorbed it.
387.El
388.Sh SEE ALSO
389.Xr huntd 6
390.Sh AUTHORS
391Conrad Huang, Ken Arnold, and Greg Couch;
392.br
393University of California, San Francisco, Computer Graphics Lab
394.Sh ACKNOWLEDGEMENTS
395We thank Don Kneller,
396John Thomason, Eric Pettersen, Mark Day,
397and Scott Weiner for providing
398endless hours of play-testing to improve the character of the game.
399We hope their significant others will forgive them;
400we certainly don't.
401.Sh BUGS
402To keep up the pace, not everything is as realistic as possible.
403