#!/bin/sh
#    SCCS Id: @(#)nethack.sh    1.4    87/08/08
HACKDIR=/usr/games/lib/nethackdir
HACK=$HACKDIR/nethack
MAXNROFPLAYERS=4

cd $HACKDIR
case $1 in
    -s*)
	exec $HACK $@
	;;
    *)
	exec $HACK $@ $MAXNROFPLAYERS
	;;
esac
