Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Write You a StarCraft AI in Clojure (travisthieman.com)
22 points by omni on Jan 13, 2014 | hide | past | favorite | 7 comments


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!


Is it possible to convert that to ruby? Does BWAPI work with ruby?


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.


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.


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...?


I would love to see this pitted against one of the Brood War legends. It would be a modern day Deep Blue event.


It would lose. Badly. :-) I think there was an event like this with one of the more established BW AIs a while back, though.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: