Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Hidden games in Mac OS X UNIX
Those of you who lust after the good old days of the text adventure may find this tip useful. The default installation of Mac OS X includes Emacs 20.7.1. Emacs is a very powerful tool, and includes the ability to retrieve/post news or mail, act as a calendar/diary application and has powerful text editing features. It also includes a few amusing games, most of which need to be executed within Emacs itself, except for one... dunnet. Using the following command at the shell will execute the game without opening up Emacs directly:
emacs -batch -l dunnet
For anyone familiar with text-based adventure games you will find most of the usual commands work (north, east, south, west, get, look, help, quit...). The following two commands allow you to save and restore your game to or from a specific file:
save [filename]
restore [filename]
Have fun!
  • Currently 3.00 / 5
  You rated: 1 / 5 (3 votes cast)

Hidden games in Mac OS X | 1 comments | Create New Account
Click here to return to the 'Hidden games in Mac OS X' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Those other games in emacs
Authored by: Anonymous on Jul 21, '01 05:40:40AM

To see a list of the other games, that do run in emacs:

ls /usr/share/emacs/20.7/lisp/play/

To run them:

1. Type emacs at the command line.
2. Type meta-x
Of course, Macs don't have meta keys. Use option-x. You should see "M-x" appear at the bottom of the screen. If you don't, try escape then x instead.
3. Type in the name of the game and hit return.

To get help for the game, type control-h then m.

Unfortunately, the help can be pretty unhelpful. Try tetris at least though, you can move left and right with the arrow keys, rotate with up and down, and drop with the space bar.

[ Reply to This | # ]