#! /bin/sh

# permission of this file should be set to be group executable 
# use absolute paths (since another user executes this script):
# NO $HOME or ~/

host=$1
DIR=/game/amoiensis
PLAYER=${DIR}/player    


cd ${DIR}

${PLAYER} -file "server.conf" -file "player.conf" -host ${host} -port 6000 -UNum 1 -goalie X &
sleep 1
${PLAYER} -file "server.conf" -file "player.conf" -host ${host} -port 6000 -UNum 2 X &
sleep 1
${PLAYER} -file "server.conf" -file "player.conf" -host ${host} -port 6000 -UNum 3 X &
sleep 1
${PLAYER} -file "server.conf" -file "player.conf" -host ${host} -port 6000 -UNum 4 X &
sleep 1
${PLAYER} -file "server.conf" -file "player.conf" -host ${host} -port 6000 -UNum 5 X &
sleep 1
${PLAYER} -file "server.conf" -file "player.conf" -host ${host} -port 6000 -UNum 6 X &
	  
