commets fixes

master
Peter Babič 9 years ago
parent fe16ee29fa
commit 7f300e3c0e
  1. 4
      robocode-svm

@ -36,7 +36,7 @@ show_help() {
}
# Run the battle wit the specified parameters
# @param gui --gui|--no-gui
# @param gui --gui|--no-gui
# @param x the position of the roaming robot on x-axis
# @param y the position of the roaming robot on y-axis
# @param alpha the orientation of the gun of the roaming robot (OPTIONAL)
@ -73,7 +73,7 @@ run_battle() {
printf "The winner is: "
fi
# Run battle without GUI, following the settings file, save the results into file
# Run battle without GUI, following the settings file, save the results into file
robocode "$gui" -battle "$(pwd)/$settings" -results "$(pwd)/$results" > /dev/null
# Obtain the winner from the results file
cat "$results" | tail -2 | awk 'NR==1F {print $2}'

Loading…
Cancel
Save