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