#!/bin/csh

########################################################################
#
# FILE:		mazeman
# PURPOSE:	This is the executable script from which starts mazeman.
#
########################################################################

### README and EDIT
#
# Set an environment variable called MAZEMANHOME to reflect where
# you have locally installed mazeman.
#
# For example: 
# If the file you are currently reading is located in 
# /usr/games/MazeMan_1.0, then the following line should be:
#	setenv MAZEMANHOME /usr/games/MazeMan_1.0
setenv MAZEMANHOME /vol/everclear/users/sefler/MazeMan_1.0

###  Stop!  No need to edit below. #####################################


# make sure that MAZEMANHOME was set
if ( !(-e $MAZEMANHOME) ) then
  echo "Installer: MAZEMANHOME is not properly set."
  echo "           Run the setup script, or edit the mazeman file."
  exit
endif


# run mazeman
$MAZEMANHOME/src/mazewish -f $MAZEMANHOME/scripts/mazeman.tcl
