1 2README -- xrobots 3 4 xrobots is a game that runs on X Windows. It is based on the robots 5game found on unix. See the man page for a description of the options 6and game play. 7 8 Both an Imakefile and a traditional makefile (Makefile.tra) included. 9If you use the traditional makefile, you'll have to edit two lines as a 10minimum. (The lines which define "INCDIR" and "LIBDIR") If you don't 11want to go through that hassle, you can always use imake. 12 13Compile time parameters: 14 MAXX, MAXY -- these control the number of 'cells' in the playfield. 15 the default is 35x20. The realistic maximum these can be on a 16 1152x900 screen (ie most sun 3/50's) is about 50x40. With a larger 17 playfield, the scores will be higher and the game length longer, but 18 some graphics may appear slower. With the default playfield, scores 19 in the 6000 range can be achieved. 20 21 MAXSCORES -- the number of high scores that you want to keep. 22 The default is 20. 23 24 The default directory for the binary and score file is the current 25 directory. You'll have to modify the makefile or copy the binary 26 if you want it to install elsewhere. xrobots will attempt to 27 create the scorefile (SCOREFILE) at runtime. 28 29 There is a little bsd-ish stuff in score.c. flock is used to stop a race 30condition. If you don't have a bsd-like flock, you could probably 31comment it out. The race condition (multiple users writing to the 32score file) is probably rare. If SYSV is defined, this will be ifndef'd 33out. 34 35 If your compiling this under X11R3, define the term R3 in the makefile or 36imakefile. This will make the include references look like those expected 37by X11R3 instead of X11R4. 38 39----- 40 41This insomnia killer was written by Brian Warkentine. Send comments, 42bug reports, etc. to brianw@Sun.COM. 43 44