#!/bin/sh
#
# Xfrisk startup helper script
#
# $Id: risk,v 1.3 2003/04/15 23:10:29 sketch Exp $

if ( test $# -eq 0 ) then
    xfriskserver &
    sleep 2
    SERVER=localhost
    aiConway $SERVER &
    aiColson $SERVER &
    xfrisk $SERVER
elif ( test $# -eq 1 ) then
    SERVER=$1
    xfrisk $SERVER
else
    echo "Usage:"
    echo " risk [server hostname]"
    echo ""
    echo "If no server hostname is provided, starts a local server,"
    echo "connects all supplied AI clients to it and starts a game"
    echo "client on it."
fi

# End of file
