File: roborumble.in

package info (click to toggle)
robocode 1.9.3.9-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 10,648 kB
  • sloc: java: 53,012; cs: 25,275; xml: 2,337; sh: 272; makefile: 15
file content (27 lines) | stat: -rw-r--r-- 658 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh
# Wrapper script to launch different Roborumble competitions
# Please adjust your configuration scripts in your roborumble directory before
# launching the competition
set -e

VER=@RCVER@
WORKING_DIRECTORY=~/.local/share/robocode/${VER}

# Change this value as needed
# Possible values are
# - roborumble (default)
# - meleerumble
# - teamrumble
# - twinduel
COMPETITION=roborumble

cd ${WORKING_DIRECTORY}
printf 'CWD: '
pwd

java \
    -Xmx512M \
    -cp /usr/share/java/robocode.jar:/usr/share/java/roborumble.jar:/usr/share/java/codesize.jar \
    roborumble.RoboRumbleAtHome \
    ${WORKING_DIRECTORY}/roborumble/${COMPETITION}.txt \
    "$@"