ftp.nice.ch/pub/next/games/network/MazeWar.s.tar.gz#/winNeXT.h

This is winNeXT.h in view mode; [Download] [Up]

#define INIT_PARA 8
const char helpText[] = "{\\rtf0\\ansi{\\fonttbl\\f0\\froman Times;}\n\
\\paperw13040\n\
\\paperh10200\n\
\\margl120\n\
\\margr120\n\
{\\f0\\fs36\\fi0\\li0\\ql\\gray0 This program implements the age-old \
game of MazeWar.  MazeWar first appeared at MIT in the early 1970s, \
using IMLAC displays and the ARPAnet network.  Legend has it that, at \
one point during that period, MazeWar was banned by DARPA from the \
ARPAnet because half of all the packets in a given month were MazeWar \
packets flying between Stanford and MIT.\\\n\
\\\n\
MazeWar appeared again at the Xerox Palo Alto Research Center in the \
late 1970's on the Alto, the first personal computer.  This version \
has subsequently been ported to many personal machines, and forms the \
basis for this NeXT version.\\\n\
\\\n\
}\n\
{\\f0\\i\\fs36\\fi0\\li0\\ql\\gray0 MazeWar}\n\
{\\f0\\fs36\\fi0\\li0\\ql\\gray0  attempts to be as faithful to the \
original Alto version as possible.  The shape and pictures of the maze \
are as in the original, and there are no embellishments such as \
teleport traps or robot amanuenses.\\\n\
\\\n\
You, the player, are a rat in a maze, and the objective is to find your \
opponents and shoot them before they shoot you.\\\n\
\\\n\
Each of the (up to eight) players in a game may be on a different \
host.  Upon startup, you are asked for the name by which you wish to \
be known for the duration of the game, and the name of the ``Duke \
host.''  If you type a bare carriage return to this query, }\n\
{\\f0\\i\\fs36\\fi0\\li0\\ql\\gray0 MazeWar}\n\
{\\f0\\fs36\\fi0\\li0\\ql\\gray0  will find a game by broadcasting on \
the local network, and join any game it finds.  If you wish to join a \
specific game, or a game on another network, type in the name of one \
of the hosts involved in that game.  The program }\n\
{\\f0\\i\\fs36\\fi0\\li0\\ql\\gray0 mazefind}\n\
{\\f0\\fs36\\fi0\\li0\\ql\\gray0  will aid you in finding out what \
games are currently being played.\\\n\
\\\n\
Once in a game, you are presented with the game window.  This window \
is made up of three sections.  The upper section is a perspective view \
of your view forward.  By pressing the right mouse button, you may \
peek to the left or right around corners.  Since the NeXT only has a \
two-button mouse, which way you peek depends on which half of the \
window the cursor is on, and you must have enabled the right mouse \
button in }\n\
{\\f0\\i\\fs36\\fi0\\li0\\ql\\gray0 Preferences.}\n\
{\\f0\\fs36\\fi0\\li0\\ql\\gray0 \\\n\
\\\n\
The middle section of the window is a top view of the maze, showing \
your current position and heading in the maze.  You move around the \
maze by using the following keys:\\\n\
\\\n\
A\tAbout face; flip end-for-end\\\n\
S\tTurn 90 degrees left\\\n\
D\tMove forward one cell\\\n\
F\tTurn 90 degrees right\\\n\
<space>Move backward one cell\\\n\
Q\tQuit\\\n\
\\\n\
For left-handers, there are equivalents on the numeric keypad.  On the \
NeXT keyboard, the `4', `5', `6', `+', and right cursor arrow keys \
perform the equivalent operations.\\\n\
\\\n\
The lower section of the window shows the names and scores of the \
other players in the game.  When you sight another rat, that rat's \
score line is highlighted.  Shoot by pressing the left mouse button.  \
When you are shot at, the mouse cursor changes from a rat to a dead \
rat, and you have one second to move out of the way of the shot or \
shoot back or both.  A shot costs one point; getting hit costs five \
points; hitting someone adds ten points.  When you are hit, the screen \
flashes and you are transported to another section of the maze.\\\n\
\\\n\
The application icon will flash when someone joins the game or shoots \
at you.  This way, you can be notified whenever someone else is \
interested in wasting some time, by always leaving a game around.}\n\
}\n";

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.