News for hackers. Stuff that matters.
Re:Write You a StarCraft AI in Clojure by omni on Monday January 13, 2014 @09:18AM (#7050631)
Author here, happy to entertain questions / beratements on the project. Also, if you happen to know a lot about how Java packaging works and want to contribute, please get in touch!
Re:Write You a StarCraft AI in Clojure by tensaix2j on Monday January 13, 2014 @10:18AM (#7050995)
Is it possible to convert that to ruby? Does BWAPI work with ruby?
Re:Write You a StarCraft AI in Clojure by omni on Monday January 13, 2014 @10:55AM (#7051249)
Here's how the hierarchy works:

BWAPI is the C++ library that you inject into the Brood War process. JNIBWAPI is the Java library that uses JNI to interface with BWAPI. Korhal's Clojure API talks to JNIBWAPI.

You'd need to insert Ruby somewhere into the process, either talking to C++ or Java.

Re:Write You a StarCraft AI in Clojure by groquest on Monday January 13, 2014 @10:03AM (#7050908)
Impressive! I can't wait to play with the finished version of this. Is making such AI in Starcraft 2 impossible? This could be much more fun if it were in SC2.
Re:Write You a StarCraft AI in Clojure by omni on Monday January 13, 2014 @10:55AM (#7051250)
There are no plans for SC2. See this bit of the BWAPI FAQ: https://code.google.com/p/bwapi/wiki/FAQ#Will_there_be_an_AP...?
Re:Write You a StarCraft AI in Clojure by holyjaw on Monday January 13, 2014 @11:52AM (#7051702)
I would love to see this pitted against one of the Brood War legends. It would be a modern day Deep Blue event.
Re:Write You a StarCraft AI in Clojure by omni on Monday January 13, 2014 @12:50PM (#7052101)
It would lose. Badly. :-) I think there was an event like this with one of the more established BW AIs a while back, though.