aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Strapp <strap012@umn.edu>2021-04-29 10:43:25 -0500
committerMatt Strapp <strap012@umn.edu>2021-04-29 10:43:25 -0500
commit82d1bfd2cede205cc38892a120b284271dc33d44 (patch)
treeebcdffd0883c3cd0fe83605dbde58c21ec66fbb1
parentFinish shell script (diff)
downloadcsci4511w-82d1bfd2cede205cc38892a120b284271dc33d44.tar
csci4511w-82d1bfd2cede205cc38892a120b284271dc33d44.tar.gz
csci4511w-82d1bfd2cede205cc38892a120b284271dc33d44.tar.bz2
csci4511w-82d1bfd2cede205cc38892a120b284271dc33d44.tar.lz
csci4511w-82d1bfd2cede205cc38892a120b284271dc33d44.tar.xz
csci4511w-82d1bfd2cede205cc38892a120b284271dc33d44.tar.zst
csci4511w-82d1bfd2cede205cc38892a120b284271dc33d44.zip
Change ports to allow background usage
-rwxr-xr-xstart.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/start.sh b/start.sh
index f3dffa3..5e80431 100755
--- a/start.sh
+++ b/start.sh
@@ -5,7 +5,7 @@ echo "Dots and Boxes Agent Shell Script: Ver 0.1: first release"
(python3 python/dotsandboxes/dotsandboxesserver.py 8080) >> server.log &
echo "Web server running on http://127.0.0.1:8080"
-PORT=10000
+PORT=20000
for a in 1 2
do
((PORT=PORT+1));
@@ -37,7 +37,7 @@ read -p "Number of games to run: " n
read -p "Output file name (please include '.csv'): " o
echo ""
read -p "This will now run `evaluate` with the given arguments in the foreground. Hit enter to confirm."
-(python3 python/evaluate.py -c $c -r $r -n $n -o $o ws://127.0.0.1:10001 ws://127.0.0.1:10002) > evaluate.log
+(python3 python/evaluate.py -c $c -r $r -n $n -o $o ws://127.0.0.1:20001 ws://127.0.0.1:20002) > evaluate.log
echo ""
echo "Evaluate log located in evaluate.log"
echo "Evaluate has finished! Check the output in $o"