Dunnet (video game)
Dunnet is a surreal, cyberpunk text adventure written by Ron Schnell in 1983. The name is derived from the first three letters of dungeon and the last three letters of Arpanet. It was first written in Maclisp for the DECSYSTEM-20, then ported to Emacs Lisp in 1992. Since 1994 the game has shipped with GNU Emacs; it also has been included with XEmacs.
Dunnet is playable on any operating system with the Emacs editor. Emacs comes with most Unices, including OS X and distributions of Linux. Several articles targeted to OS X owners have recommended it as an easter egg as a game that can be run in Terminal.app. It can be run by running
emacs -batch -l dunnet in a shell or the key sequence
M-x dunnet within Emacs, the former being the preferred and official way to run it. Dunnet was used as a benchmark in the effort to port Emacs Lisp to Guile, progressing from running standalone games to running the entire Emacs system in less than a person-year of work.
The game starts out like most text adventures, with the player standing at the end of a dirt road, but it turns to the surreal when players realize that they are actually walking around inside a Unix system, and teleporting themselves around the Arpanet. There are many subtle jokes in this game, and there are multiple ways of ending the game.
- "There Is A Surreal Cyberpunk Adventure Game Built Into OS X That You Never Knew About".
- Ron Schnell (1992-07-28). "dunnet - text adventure for e-lisp".
- Richard M. Stallman (1994). "GNU Emacs Manual". p. 314.
M-x dunnetruns an adventure-style exploration game, which is a bigger sort of puzzle [compared to the other puzzle-games that ship with GNU Emacs].
- Ben Wing. "A Tour of XEmacs". Archived from the original on 2000-06-19. Retrieved 2015-07-27.
Most of the actual editor functionality is written in Lisp and is essentially an extension that sits on top of the XEmacs core. XEmacs can do very un-editorlike things; for example, try running XEmacs using the command
xemacs -batch -l dunnet.
- "Interactive Fiction – An introduction (updated)".
A text adventure that is built into almost every copy of the Emacs text editor.
- "Play an 'old-school' adventure game".
- "Discover the Text-Based Adventure Game Built Into Your Mac's Terminal".
- Dunnet help command: "NOTE: This game *should* be run in batch mode!"
- "Guile Scheme Emacs-Lisp Compatibility Matures".
- "Re: Emacs Lisp's future".
|This adventure game–related article is a stub. You can help Wikipedia by expanding it.|