Tuesday, April 16, 2013

Discover the Text-Based Adventure Game Built Into Your Mac's Terminal

Everyone seems to love "retro" 8-bit video games, but it doesn't get much more retro than a text-based adventure. If you've never tried one before, or you're just bored and have a Mac nearby, open up Terminal and give its built in MUD (multi-user dungeon) text adventure a spin.

You won't need to download anything here, as the game runs within Emacs, a text editor that you can access through the Terminal. Just type the following into Terminal, and the game will launch automatically.

emacs -batch -l dunnet

If you've never played a MUD text adventure before, you'll find that it's actually pretty intuitive. For example, you start the game standing on a road with a shovel nearby. Type "take shovel" to add the shovel to your inventory, and "go east" to walk down the road. Typing "Inventory" will show you what you're carrying, "save" and "restore" let you play through in multiple sessions, and "help" gives you some tips if you're stuck. I'd also recommend using some scratch paper to map out the area as you discover it. Check out the source link for a few other Terminal easter eggs to help you kill some time this weekend.

Terminal 101: 4 emacs Easter eggs | Mac|Life

Source: http://feeds.gawker.com/~r/lifehacker/full/~3/SobRdBHJZbk/discover-the-text+based-adventure-game-built-into-your-macs-terminal

Missy Franklin Hunter Pence NBCOlympics Danell Leyva Ye Shiwen OJ Murdock Olympics Live

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.