]> git.cameronkatri.com Git - bsdgames-darwin.git/blob - hack/hack.6
initial import of 386bsd-0.1 sources
[bsdgames-darwin.git] / hack / hack.6
1 .TH HACK 6 "31 March 1985"
2 .UC 4
3 .SH NAME
4 hack \- Exploring The Dungeons of Doom
5 .SH SYNOPSIS
6 .B /usr/games/hack
7 [
8 .B \-d
9 .I directory
10 ]
11 [
12 .B \-n
13 ]
14 [
15 .B \-u
16 .I playername
17 ]
18 .br
19 .B /usr/games/hack
20 [
21 .B \-d
22 .I directory
23 ]
24 .B \-s
25 [
26 .B \-X
27 ]
28 [
29 .I playernames
30 ]
31 .SH DESCRIPTION
32 .PP
33 .I Hack
34 is a display oriented dungeons & dragons - like game.
35 Both display and command structure resemble rogue.
36 (For a game with the same structure but entirely different display -
37 a real cave instead of dull rectangles - try Quest.)
38 .PP
39 To get started you really only need to know two commands. The command
40 .B ?
41 will give you a list of the available commands and the command
42 .B /
43 will identify the things you see on the screen.
44 .PP
45 To win the game (as opposed to merely playing to beat other people high
46 scores) you must locate the Amulet of Yendor which is somewhere below
47 the 20th level of the dungeon and get it out. Nobody has achieved this
48 yet and if somebody does, he will probably go down in history as a hero
49 among heros.
50 .PP
51 When the game ends, either by your death, when you quit, or if you escape
52 from the caves,
53 .I hack
54 will give you (a fragment of) the list of top scorers. The scoring
55 is based on many aspects of your behaviour but a rough estimate is
56 obtained by taking the amount of gold you've found in the cave plus four
57 times your (real) experience. Precious stones may be worth a lot of gold
58 when brought to the exit.
59 There is a 10% penalty for getting yourself killed.
60 .PP
61 The administration of the game is kept in the directory specified with the
62 .B \-d
63 option, or, if no such option is given, in the directory specified by
64 the environment variable HACKDIR, or, if no such variable exists, in
65 the current directory. This same directory contains several auxiliary
66 files such as lockfiles and the list of topscorers and a subdirectory
67 .I save
68 where games are saved.
69 The game administrator may however choose to install hack with a fixed
70 playing ground, usually /usr/games/lib/hackdir.
71 .PP
72 The
73 .B \-n
74 option suppresses printing of the news.
75 .PP
76 The
77 .B \-u
78 .I playername
79 option supplies the answer to the question "Who are you?".
80 When
81 .I playername
82 has as suffix one of
83 .B \-T \-S \-K \-F \-C \-W
84 then this supplies the answer to the question "What kind of character ... ?".
85 .PP
86 The
87 .B \-s
88 option will print out the list of your scores. It may be followed by arguments
89 .B \-X
90 where X is one of the letters C, F, K, S, T, W to print the scores of
91 Cavemen, Fighters, Knights, Speleologists, Tourists or Wizards.
92 It may also be followed by one or more player names to print the scores of the
93 players mentioned.
94 .SH AUTHORS
95 Jay Fenlason (+ Kenny Woodland, Mike Thome and Jon Payne) wrote the
96 original hack, very much like rogue (but full of bugs).
97 .br
98 Andries Brouwer continuously deformed their sources into the current
99 version - in fact an entirely different game.
100 .SH FILES
101 .DT
102 .ta \w'data, rumors\ \ \ 'u
103 hack The hack program.
104 .br
105 data, rumors Data files used by hack.
106 .br
107 help, hh Help data files.
108 .br
109 record The list of topscorers.
110 .br
111 save A subdirectory containing the saved
112 .br
113 games.
114 .br
115 bones_dd Descriptions of the ghost and
116 .br
117 belongings of a deceased adventurer.
118 .br
119 xlock.dd Description of a dungeon level.
120 .br
121 safelock Lock file for xlock.
122 .br
123 record_lock Lock file for record.
124 .SH ENVIRONMENT
125 .DT
126 .ta \w'HACKPAGER, PAGER\ \ \ 'u
127 USER or LOGNAME Your login name.
128 .br
129 HOME Your home directory.
130 .br
131 SHELL Your shell.
132 .br
133 TERM The type of your terminal.
134 .br
135 HACKPAGER, PAGER Pager used instead of default pager.
136 .br
137 MAIL Mailbox file.
138 .br
139 MAILREADER Reader used instead of default
140 .br
141 (probably /bin/mail or /usr/ucb/mail).
142 .br
143 HACKDIR Playground.
144 .br
145 HACKOPTIONS String predefining several hack options
146 .br
147 (see help file).
148 .br
149
150 Several other environment variables are used in debugging (wizard) mode,
151 like GENOCIDED, INVENT, MAGIC and SHOPTYPE.
152 .SH BUGS
153 .PP
154 Probably infinite.
155 Mail complaints to mcvax!aeb .