1 .\" $FreeBSD: src/games/hack/hack.6,v 1.2.8.1 2001/07/22 11:01:22 dd Exp $
2 .\" $DragonFly: src/games/hack/hack.6,v 1.5 2007/10/23 07:51:09 swildner Exp $
8 .Nd exploring The Dungeons of Doom
13 .Op Fl u Ar playername
21 is a display oriented dungeons \*[Am] dragons-like game.
22 Both display and command structure resemble rogue.
23 (For a game with the same structure but entirely different display -
24 a real cave instead of dull rectangles - try Quest.)
26 To get started you really only need to know two commands.
29 will give you a list of the available commands and the command
31 will identify the things you see on the screen.
33 To win the game (as opposed to merely playing to beat other people's high
34 scores) you must locate the Amulet of Yendor which is somewhere below
35 the 20th level of the dungeon and get it out.
36 Nobody has achieved this yet and if somebody does, he will probably go
37 down in history as a hero among heroes.
39 When the game ends, either by your death, when you quit, or if you escape
42 will give you (a fragment of) the list of top scorers.
43 The scoring is based on many aspects of your behavior but a rough estimate
44 is obtained by taking the amount of gold you've found in the cave plus four
45 times your (real) experience.
46 Precious stones may be worth a lot of gold when brought to the exit.
47 There is a 10% penalty for getting yourself killed.
49 The administration of the game is kept in the directory specified with the
51 option, or, if no such option is given, in the directory specified by
52 the environment variable
54 or, if no such variable exists, in the current directory.
55 This same directory contains several auxiliary files such as lockfiles and
56 the list of topscorers and a subdirectory
58 where games are saved.
59 The game administrator may however choose to install
61 with a fixed playing ground, usually
62 .Pa /var/games/hackdir .
66 option suppresses printing of the news.
70 option supplies the answer to the question "Who are you?".
81 then this supplies the answer to the question "What kind of character ... ?".
85 option will print out the list of your scores.
86 It may be followed by arguments
88 where X is one of the letters C, F, K, S, T, W to print the scores of
89 Cavemen, Fighters, Knights, Speleologists, Tourists or Wizards.
90 It may also be followed by one or more player names to print the scores of the
93 .Bl -tag -width 24n -compact
94 .It Ev USER No or Ev LOGNAME
101 The type of your terminal.
102 .It Ev HACKPAGER, PAGER
103 Pager used instead of default pager.
107 Reader used instead of default (probably
108 .Pa /usr/bin/mail ) .
112 String predefining several
114 options (see help file).
117 Several other environment variables are used in debugging (wizard) mode,
125 .Bl -tag -width 24n -compact
136 The list of topscorers.
138 A subdirectory containing the saved games.
140 Descriptions of the ghost and belongings of a deceased adventurer.
142 Description of a dungeon level.
146 Lock file for record.
149 Jay Fenlason (+ Kenny Woodland, Mike Thome and Jon Payne) wrote the
156 Andries Brouwer continuously deformed their sources into the current
157 version - in fact an entirely different game.
160 Mail complaints to mcvax!aeb .