Unable to access jarfile engine.jar

When I run the game in the terminal I get the following error:

Run Match
P1: algos/starter-algo
P2: algos/my-algo
Starting Match: algos/starter-algo vs. algos/my-algo
Error: Unable to access jarfile engine.jar

I am using Mac OS and I think it might be something to do with Mac not allowing access to the jar file.
Anyone know how to get round this problem?

I was having the same problem. My problem was that within Terminal (the mac app, not the game…) I was within the /scripts folder (and the engine.jar file is in the root directory of the starter kit), and trying to run the script with ./run_match.sh.

To fix it, I navigated to the root directory of the starter kit and ran the script with ./scripts/run_match.sh.

I hope that helps!

2 Likes