It is currently Wed Mar 20, 2019 10:05 am Advanced search

Clojure: I feel stupid asking this....

Topics about starter packages, visualizer or any other third party tools.
Please submit new language requests in the Language Request Forum.

Clojure: I feel stupid asking this....

Postby NotCoffeeTable » Sat Oct 22, 2011 10:31 pm

How are we supposed to test the bot locally? I submitted some code and it passed the tests and is fine. But I cannot figure out how to run it locally.

I've tried using Lein and I've tried just using the clojure.jar with Java to execute the files. Lein causes a NullExceptionError (it has to do with the Ant build method blocking access to read-line).

With Java executing the clojure.jar Ants.clj and MyBot.clj as input it goes down a line then returns to the command prompt. If I put the java command into a bat that plays a game it executes and returns "last bot standing" on the first turn because MyBot isn't executing.

If someone using Clojure could please just post how they're using the bots locally I'd be very grateful!
Posts: 3
Joined: Sat Oct 22, 2011 10:10 pm

Return to Starter Packages & Tools

Who is online

Users browsing this forum: No registered users and 1 guest