xref: /original-bsd/games/hack/Original_READ_ME (revision 50dd0bba)
1This is export hack, my first semester programming project.
2
3To set it up for your system, you will have to do the following:
4	1: create a hack uid, to own the top ten list, etc.
5	2: create a hack directory "/usr/lib/game/hack" is the default.
6	2.5: make the directory 700 mode.	/* sav files go in there...*/
7	3: modify hack.main.c to use the new directory.
8	4: modify hack.main.c so it uses the new hack gid.  Gid accounts can
9go into magic mode without the password, can get cores with ^G, etc.
10(make sure gid isn't checked anywhere else...)
11	5: recompile hack.
12	6: put it in games after making it set-uid hack.
13	8: fix the bugs I undobtedly left in it.
14	9: tell me what you think of it.
15
16	Hack uses the UCB file /etc/termcap to get your terminal escape codes.
17If you don't use it, you will have to make extensive changes to hack.pri.c
18
19If you find any bugs (That you think I don't know about), or have any
20awesome new changes (Like a better save (One that works!)), or have ANY
21questions, write me
22		Jay Fenlason
23		29 East St.
24		Sudbury Mass.
25			01776
26
27or call me at (617) 443-5036.  Since I have both a modem and a teen-age
28sister, Good Luck.
29
30
31Hack is split (roughly) into several source files that do different things.
32I have tried to fit all the procedures having to do with a certain segment
33of the game into a single file, but the job is not the best in the world.
34The rough splits are:
35
36hack.c		General random stuff and things I never got around to moving.
37hack.main.c	main() and other random procedures, also the lock file stuff.
38hack.mon.c	Monsters, moving, attacking, etc.
39hack.do.c	drink, eat, read, wield, save, etc.
40hack.do1.c	zap, wear, remove, etc...
41hack.pri.c	stuff having to do with the screen, most of the terminal
42		independant stuff is in here.
43hack.lev.c	temp files and calling of mklev.
44
45Because of the peculiar restraints on our system, I make mklev (create
46a level) a separate procedure execd by hack when needed.  The source for
47mklev is (Naturaly) mklev.c.  You may want to put mklev back into hack.
48Good luck.
49
50Most of hack was written by me, with help from
51		Kenny Woodland (KW)	(general random things including
52			the original BUZZ())
53		Mike Thome	(MT)	(The original chamelian)
54	and	Jon Payne	(JP)	(The original lock file kludge and
55			the massive CURS())
56
57This entire program would not have been possible without the SFSU Logo
58Workshop.  I am eternally grateful to all of our students (Especially K.L.),
59without whom I would never have seen Rogue.  I am especially grateful to
60Mike Clancy, without whose generous help I would never have gotten to play
61ROGUE.
62