From 82d1bfd2cede205cc38892a120b284271dc33d44 Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Thu, 29 Apr 2021 10:43:25 -0500 Subject: Change ports to allow background usage --- start.sh | 4 ++-- 1 file 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" -- cgit v1.2.3