home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 January
/
usenetsourcesnewsgroupsinfomagicjanuary1994.iso
/
sources
/
games
/
volume14
/
dunnet
/
part03
/
README
Wrap
Text File
|
1992-08-31
|
3KB
|
69 lines
This is "dunnet", a text adventure game written in emacs-lisp. I decided it
would be interesting to write an elisp program, so for fun I wrote this
one. Try to play it without looking at the code, for two reasons:
1. It's more fun if you don't cheat.
2. Since I haven't written much lisp, I'm not confident of the quality
of the code.
You'll notice some really different things about this dungeon. Without
giving anything away, let's just say that like much lisp code seems to
be, this dungeon is sort of recursive in a way. A minimal knowledge of
UNIX, and some internet experience is assumed.
INSTALLATION
------------
Modify the first line of dun-main.el to have a logfile that is writable
by all. You only need to do this if you want to log where everyone died
or saved, or won. You will also need to create this file as an empty file,
if it doesn't already exist.
You can use the 'makefile' to compile everything and encrypt the appropriate
portions of dunnet. You may, of course, just run the code as-is. In either
case, all of the files must be put in your load-path directory, or they
must be in your current directory when it is run. If you do
run make, all of the compiled/encrypted files are put in ../bin.
*IMPORTANT*
There are two ways to run the program:
1. dunnet
2. dunnet.window
I strongly suggest using the non-window version, because otherwise stuff will
scroll off the screen, and you'll need to be scrolling back a lot. These
files are Unix shellscripts, and one of them should be put in a normal
bin directory. If you are on a non-unix machine, it should be simple to
set up similar script files.
NOTE: It may be necessary to modify the script files in order to run out
of the current directory. If it can't seem to find the load file,
change the "-l dun-main" to "-l `pwd`/dun-main" for Unix. For other
platforms, use whatever method appropriate to indicate the complete
pathname.
I have included part of crypt.el by Kyle E. Jones. It is needed in order to
encrypt and decrypt save files and one of the data files.
crypt.el assumes that you can run the "crypt" command. If you cannot,
edit the file 'save.el', and replace the functions 'compile-save-out'
and 'restore' with 'compile-save-out-nocrypt' and 'restore-nocrypt'. If
you aren't using crypt you will also have to make sure to copy
'dun-globals.el' to the load-path or current directory if you are
using 'make' to compile.
This software assumes you have "cl.el" (necessary) and "yow.el" (not critical)
in the load-path directory. These come standard with gnu-emacs.
Some hints and tips.
Read the help carefully.
Save the game often.
An abbreviation for examine is 'x'.
You can use 'get all', but not 'drop all'.
Questions or comments to ronnie@eddie.mit.edu.