Re: How to use Clojure with Robocode

2010-06-19 Thread nakkaya
This answer is couple months too late but I was messing with robocode this weekend, had the same problem OP had. The solution is to unzip clojure.jar into the folder where your compiled class files are. That makes the error go away but it will also increase robocode's boot time by 20-30 secs. Hope

Re: How to use Clojure with Robocode

2010-03-21 Thread ubolonton
On Mar 20, 9:46 pm, "Heinz N. Gies" wrote: > Hi, > I hope that in a week or two I am able to release a 'mini game' as a tech > demo for something some friends and me are working on, if you're interested > in Robocode you might like it. It will be a tournament game where two fleets > fight eac

Re: How to use Clojure with Robocode

2010-03-21 Thread ubolonton
On Mar 19, 8:19 pm, Jeff Foster wrote: > Could you post the source code? This is the Clojure code (ns ubolonton.MyRobot (:gen-class :extends robocode.Robot)) (defn -run [robot] (doto robot (.ahead 100) (.turnGunRight 360) (.back 100)) (.turnGunRight 360) (recur robot)) (d

Re: How to use Clojure with Robocode

2010-03-20 Thread Heinz N. Gies
On Mar 19, 2010, at 8:56 , ubolonton wrote: > Hi, > > Has anyone been able to use Clojure with Robocode? > I've followed this http://www.fatvat.co.uk/2009/05/clojure-and-robocode.html > but got the error Hi, I hope that in a week or two I am able to release a 'mini game' as a tech demo for som

Re: How to use Clojure with Robocode

2010-03-19 Thread Jeff Foster
Could you post the source code? On Mar 19, 7:56 am, ubolonton wrote: > Hi, > > Has anyone been able to use Clojure with Robocode? > I've followed thishttp://www.fatvat.co.uk/2009/05/clojure-and-robocode.html > but got the error > > Round 1 initializing.. > Let the games begin! > java.lang.Excepti