HACK(6)
๐ฆ hack(6) โ exploring The Dungeons of Doom ๐ฆ
โจ NAME โจ
hack โ exploring The Dungeons of Doom. yes bestie, that's the whole name and it's iconic ๐ฐ
๐ฎ SYNOPSIS ๐ฎ
hack [-d directory] [-n] [-u playername]
hack [-d directory] [-s] [-X] [playername ...]
๐บ๏ธ DESCRIPTION ๐บ๏ธ
okay so 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.) the range! ๐
To get started you really only need to know two commands. The command ? will give you a list of the available commands and the command / will identify the things you see on the screen. literally just those two and you're in, no cap โจ
To win the game (as opposed to merely playing to beat other people's 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, they'll probably go down in history as a hero among heroes. ๐ main character energy fr fr
When the game ends, either by your death, when you quit, or if you escape from the caves, hack will give you (a fragment of) the list of top scorers. The scoring is based on many aspects of your behavior 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. the 10% death tax is real, bestie ๐ periodt.
The administration of the game is kept in the directory specified with the -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 save where games are saved. The game administrator may however choose to install hack with a fixed playing ground, usually /var/games/hack. admin behavior, but make it filesystem ๐
๐ the flags, bestie ๐
-d directoryโ sets the directory where the administration of the game is kept; if no such option is given,hackuses the directory specified byHACKDIR, or, if no such variable exists, the current directory. This same directory contains several auxiliary files such as lockfiles and the list of topscorers and a subdirectorysavewhere games are saved. The game administrator may however choose to installhackwith a fixed playing ground, usually/var/games/hack.-nโ suppresses printing of the news. no news, no stress ๐ซถ-u playernameโ supplies the answer to the question "Who are you?". Whenplayernamehas as suffix one of-T,-S,-K,-F,-C, or-W, then this supplies the answer to the question "What kind of character ... ?".-sโ will print out the list of your scores. It may be followed by arguments-XwhereXis one of the lettersC,F,K,S,T,Wto 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. scoreboard behavior, we love to see it ๐
๐ AUTHORS ๐
Jay Fenlason (+ Kenny Woodland, Mike Thome and Jon Payne) wrote the original hack, very much like rogue (but full of bugs). Andries Brouwer continuously deformed their sources into the current version โ in fact an entirely different game. collab era, but make it cursed code ๐
๐ FILES ๐
hackโ The hack program.data,rumorsโ Data files used byhack.help,hhโ Help data files.recordโ The list of topscorers.saveโ A subdirectory containing the saved games.bones_ddโ Descriptions of the ghost and belongings of a deceased adventurer.xlock.ddโ Description of a dungeon level.safelockโ Lock file forxlock.record_lockโ Lock file forrecord.
๐ฑ ENVIRONMENT ๐ฑ
USERorLOGNAMEโ Your login name.HOMEโ Your home directory.SHELLโ Your shell.TERMโ The type of your terminal.HACKPAGER,PAGERโ Pager used instead of default pager.MAILโ Mailbox file.MAILREADERโ Reader used instead of default (probably/usr/bin/mail).HACKDIRโ Playground.HACKOPTIONSโ String predefining several hack options (see help file).
Several other environment variables are used in debugging (wizard) mode, like GENOCIDED, INVENT, MAGIC and SHOPTYPE. wizard mode secrets, iykyk ๐ง
๐ BUGS ๐
Probably infinite. Mail complaints to mcvax!aeb. not me sending hate mail to a 1985 email address ๐ญ
okay that's the whole page, bestie โ source/version: Debian. Date: March 31, 1985. Manual: HACK(6). mwah ๐
๐ฆ where this page comes from
- fedora 43: bsd-games 2.17-82.fc43 ยท LicenseRef-Callaway-BSD AND LicenseRef-Callaway-BSD-with-advertising
- fedora 44: bsd-games 2.17-84.fc44 ยท LicenseRef-Callaway-BSD AND LicenseRef-Callaway-BSD-with-advertising
- opensuse-leap 16.0: bsd-games 2.17-bp160.1.13 ยท BSD-3-Clause
- opensuse-leap 16.0: bsd-games 2.17-bp160.1.13 ยท BSD-3-Clause
- opensuse-leap 16.0: bsd-games 2.17-bp160.1.13 ยท BSD-3-Clause
- opensuse-leap 16.0: bsd-games 2.17-bp160.1.13 ยท BSD-3-Clause
- Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica
- Copyright (c) 1982 Jay Fenlason <hack@gnu.org>
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms