Hack (Unix video game)

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Hack
Stable release 1.0.3 / 23 July 1985; 29 years ago (1985-07-23)[1]
Development status Discontinued in favor of NetHack
Written in C[2]
Available in English
Type Roguelike video game
License 3-clause BSD license[3]

Hack is a 1985 roguelike video game inspired by Rogue that introduced shops as gameplay elements and expanded available monsters, items, and spells. It later became the basis for NetHack.

History and development[edit]

Hack was created in 1982 by Jay Fenlason with the assistance of Kenny Woodland, Mike Thome, and Jonathan Payne, while students at Lincoln-Sudbury Regional High School.[4] A greatly extended version was first released on Usenet in 1984 by Andries Brouwer. Brouwer continued to work on Hack until July 1985. Don Kneller ported the game to MS-DOS and continued development there.[5] Development on all Hack versions ended within a few years. Hack descendant NetHack was released in 1987.[6][7]

Hack is still available for Unix, and is distributed alongside many modern Unix-like OSes,[5] including Debian, Ubuntu, the BSDs,[5] Fedora,[8] and others. Hack has also been ported to a variety of non-Unix-based platforms. NetHack is available for almost all platforms which run Hack. There is one exception: Hack is available,[9] but NetHack is unavailable, for the Game Boy Advance.

Gameplay[edit]

This describes the Usenet version of Brouwer, which is the most canonical version, such as installed by package handlers on Linux systems. Being developed by one man means the game is balanced. Even when you have discovered all properties of monsters, wands, potions, and have fathomed the role of "luck", the game remains as playable as ever. It may take ages before you reach that stage. You're helped by rumors: cryptic hints, hidden in fortune cookies. The object of the game is to delve into a dungeon to retrieve the Amulet of Yendor, and perish with as much game points as possible. The player can start out with a different ability set, such as Wizard or Cave(wo)man. The player confronts various monsters: hobgoblins, leprechauns, acid blobs, bats, centaurs, chameleons, dragons, ghosts, imps, trolls, and has weapons, armor, potions, wands, rings and special items to aid in this. E.g. related to fire there is a scroll, a ring, a monster and a wand, and their interplay is to be discovered. There is time pressure because you die if your food runs out, food is scattered around the dungeon. There is a limit to what you can carry, forcing you to leave valuable items behind. The gold and gems you carry when you die increases your score, but it is heavy too. The player must enter Hell to recover the Amulet. Entering Hell for the uninitiated just means that "you burn to a crisp". (In NetHack, Hell is renamed.) The player encounters special rooms such as shops, crypts, and vaults. Other spatial elements in the game are traps and swamps. As your experience grows, so are your abilities, score and the need for food. Retrieving the Amulet doesn't guarantee you the high score. After all the Amulet is just a very valuable gem.

Interface[edit]

Hack implements a graphical user interface using arrangements of ASCII or Extended ASCII glyphs to represent game elements. Some later ports of Hack, on AmigaOS for example, use graphical tiles in place of these letters and symbols.

Typical Hack session[edit]

You hear some noises in the distance.
 
  
 
                                                                  ------
                                                                  |....|
                       -----                                    ##+....|
                       |..$+#                                     |...<|
                       +...|#                                     |....|
                       |...|###############                       ------
                       |...|#             #-----+-----
                       |..%|##            #|.........|
                  #    -----#             #|.[......%L
       -+----  ##############             #|.........|
       |....|   #                         #+@........|
       |....+####                        ##-----------
       |....|
       |....+
       ------
 
 
 
 
Level 1    Hp  15(15)   Ac 9    Str 16      Exp  1          

Key:

  • @ - the player character
  • + - a door
  • $ - gold
  • % - food
  • L - monster; a leprechaun
  • [ - armor
  • # - corridor
  • < - stairway leading upwards

References[edit]

  1. ^ "Hack". RogueBasin. Retrieved 19 July 2013. 
  2. ^ "Index of games/hack/". DragonFly BSD revision-control system. Retrieved 19 July 2013. 
  3. ^ http://homepages.cwi.nl/~aeb/games/hack/hack.html
  4. ^ http://www.cs.berkeley.edu/~bh/lsrhs.html
  5. ^ a b c "Hack 1.0.3". NetHackWiki. Retrieved 19 July 2013. 
  6. ^ "Game history 1.0.3". NetHackWiki. Retrieved 19 July 2013. 
  7. ^ "NetHack 1.3d". NetHackWiki. Retrieved 19 July 2013. 
  8. ^ "bsd-games.spec". Fedora Project Packages GIT repositories » bsd-games.git. Line 162. Retrieved 19 July 2013. 
  9. ^ "List of handheld roguelikes". RogueBasin. Retrieved 19 July 2013. 

External links[edit]