NinjaSnowWar.sh 716 B

12345678910111213
  1. #!/usr/bin/env bash
  2. # To avoid cacophony of multiple background music when testing with multiple connections on the same test machine,
  3. # start all the other non-headless connections with '-nobgm' argument.
  4. # E.g. 1 - headless server
  5. # Start the server with "./NinjaSnowWar.sh -headless -server"
  6. # Start the first client with "./NinjaSnowWar.sh -w -address `hostname`"
  7. # Start the subsequent clients on the same host with "./NinjaSnowWar.sh -w -nobgm -address `hostname`"
  8. #
  9. # E.g. 2 - non-headless server
  10. # Start the server with "./NinjaSnowWar.sh -w -server"
  11. # Start the client on the same host with "./NinjaSnowWar.sh -w -nobgm -address `hostname`"
  12. #
  13. $(dirname $0)/Urho3DPlayer Scripts/NinjaSnowWar.as $@