From d84b6d9232275baf797dca8685fac3d62da98996 Mon Sep 17 00:00:00 2001 From: jtc Date: Thu, 5 Aug 1993 17:35:08 +0000 Subject: update to -mandoc macros --- hack/hack.6 | 213 +++++++++++++++++++++++++++++------------------------------- 1 file changed, 102 insertions(+), 111 deletions(-) (limited to 'hack/hack.6') diff --git a/hack/hack.6 b/hack/hack.6 index a9f799c9..36749408 100644 --- a/hack/hack.6 +++ b/hack/hack.6 @@ -1,156 +1,147 @@ -.\" $Id: hack.6,v 1.2 1993/08/02 17:16:56 mycroft Exp $ -*- nroff -*- -.TH HACK 6 "31 March 1985" -.UC 4 -.SH NAME -hack \- Exploring The Dungeons of Doom -.SH SYNOPSIS -.B /usr/games/hack -[ -.B \-d -.I directory -] -[ -.B \-n -] -[ -.B \-u -.I playername -] -.br -.B /usr/games/hack -[ -.B \-d -.I directory -] -.B \-s -[ -.B \-X -] -[ -.I playernames -] -.SH DESCRIPTION -.PP -.I Hack +.\" $Id: hack.6,v 1.3 1993/08/05 17:35:08 jtc Exp $ -*- nroff -*- +.Dd March 31, 1985 +.Dt HACK 6 +.Os +.Sh NAME +.Nm hack +.Nd Exploring The Dungeons of Doom +.Sh SYNOPSIS +.Nm /usr/games/hack +.Op Fl d Ar directory +.Op Fl n +.Op Fl u Ar playername +.Nm /usr/games/hack +.Op Fl d Ar directory +.Op Fl s +.Op Fl X +.Op Ar playername ... +.Sh DESCRIPTION +.Nm Hack is a display oriented dungeons & dragons - like game. Both display and command structure resemble rogue. (For a game with the same structure but entirely different display - a real cave instead of dull rectangles - try Quest.) -.PP +.Pp To get started you really only need to know two commands. The command -.B ? +.Ic ? will give you a list of the available commands and the command -.B / +.Ic / will identify the things you see on the screen. -.PP +.Pp To win the game (as opposed to merely playing to beat other people high scores) you must locate the Amulet of Yendor which is somewhere below the 20th level of the dungeon and get it out. Nobody has achieved this yet and if somebody does, he will probably go down in history as a hero among heros. -.PP +.Pp When the game ends, either by your death, when you quit, or if you escape from the caves, -.I hack +.Nm hack will give you (a fragment of) the list of top scorers. The scoring is based on many aspects of your behaviour but a rough estimate is obtained by taking the amount of gold you've found in the cave plus four times your (real) experience. Precious stones may be worth a lot of gold when brought to the exit. There is a 10% penalty for getting yourself killed. -.PP +.Pp The administration of the game is kept in the directory specified with the -.B \-d +.Fl d option, or, if no such option is given, in the directory specified by -the environment variable HACKDIR, or, if no such variable exists, in -the current directory. This same directory contains several auxiliary -files such as lockfiles and the list of topscorers and a subdirectory -.I save +the environment variable +.Ev HACKDIR , +or, if no such variable exists, in the current directory. +This same directory contains several auxiliary files such as lockfiles and +the list of topscorers and a subdirectory +.Pa save where games are saved. The game administrator may however choose to install hack with a fixed -playing ground, usually /usr/games/lib/hackdir. -.PP +playing ground, usually +.Pa /var/games/hackdir . +.Pp The -.B \-n +.Fl n option suppresses printing of the news. -.PP +.Pp The -.B \-u -.I playername +.Fl u +.Ar playername option supplies the answer to the question "Who are you?". When -.I playername +.Ar playername has as suffix one of -.B \-T \-S \-K \-F \-C \-W +.Em -T , +.Em -S , +.Em -K , +.Em -F , +.Em -C , +or +.Em -W, then this supplies the answer to the question "What kind of character ... ?". -.PP +.Pp The -.B \-s +.Fl s option will print out the list of your scores. It may be followed by arguments -.B \-X +.Fl X where X is one of the letters C, F, K, S, T, W to print the scores of Cavemen, Fighters, Knights, Speleologists, Tourists or Wizards. It may also be followed by one or more player names to print the scores of the players mentioned. -.SH AUTHORS +.Sh AUTHORS Jay Fenlason (+ Kenny Woodland, Mike Thome and Jon Payne) wrote the original hack, very much like rogue (but full of bugs). .br Andries Brouwer continuously deformed their sources into the current version - in fact an entirely different game. -.SH FILES -.DT -.ta \w'data, rumors\ \ \ 'u -hack The hack program. -.br -data, rumors Data files used by hack. -.br -help, hh Help data files. -.br -record The list of topscorers. -.br -save A subdirectory containing the saved -.br - games. -.br -bones_dd Descriptions of the ghost and -.br - belongings of a deceased adventurer. -.br -xlock.dd Description of a dungeon level. -.br -safelock Lock file for xlock. -.br -record_lock Lock file for record. -.SH ENVIRONMENT -.DT -.ta \w'HACKPAGER, PAGER\ \ \ 'u -USER or LOGNAME Your login name. -.br -HOME Your home directory. -.br -SHELL Your shell. -.br -TERM The type of your terminal. -.br -HACKPAGER, PAGER Pager used instead of default pager. -.br -MAIL Mailbox file. -.br -MAILREADER Reader used instead of default -.br - (probably /bin/mail or /usr/ucb/mail). -.br -HACKDIR Playground. -.br -HACKOPTIONS String predefining several hack options -.br - (see help file). -.br - +.Sh FILES +.Bl -tag -width 24n -compact +.It Pa hack +The hack program. +.It Pa data, rumors +Data files used by hack. +.It Pa help, hh +Help data files. +.It Pa record +The list of topscorers. +.It Pa save +A subdirectory containing the saved games. +.It Pa bones_dd +Descriptions of the ghost and belongings of a deceased adventurer. +.It Pa xlock.dd +Description of a dungeon level. +.It Pa safelock +Lock file for xlock. +.It Pa record_lock +Lock file for record. +.El +.Sh ENVIRONMENT +.Bl -tag -width 24n -compact +.It Ev USER No or Ev LOGNAME +Your login name. +.It Ev HOME +Your home directory. +.It Ev SHELL +Your shell. +.It Ev TERM +The type of your terminal. +.It Ev HACKPAGER, PAGER +Pager used instead of default pager. +.It Ev MAIL +Mailbox file. +.It Ev MAILREADER +Reader used instead of default (probably /bin/mail or /usr/ucb/mail). +.It Ev HACKDIR +Playground. +.It Ev HACKOPTIONS +String predefining several hack options (see help file). +.El +.Pp Several other environment variables are used in debugging (wizard) mode, -like GENOCIDED, INVENT, MAGIC and SHOPTYPE. -.SH BUGS -.PP +like +.Ev GENOCIDED , +.Ev INVENT , +.Ev MAGIC +and +.Ev SHOPTYPE . +.Sh BUGS Probably infinite. Mail complaints to mcvax!aeb . -- cgit v1.2.3-56-ge451