Live data from Hacker News

Battlecode – AI Programming Competition

battlecode.org

31–38 of 38 posts

Re: Battlecode – AI Programming Competition

#31
post #3

If anyone is interested in more of these, I'm trying to keep a list here. https://github.com/dakaraphi/development-resources/blob/mast...

I've built two niche games as AI programming games in ruby: Bang!: https://github.com/KevinMcHugh/mustached-nemesis The Resistance: https://github.com/KevinMcHugh/secret-nemesis I'd like to find a community to share these with but have no idea what these things are even called.

Another one is https://github.com/ryanb/ruby-warrior/tree/master. You can see the AI I built for it long ago at https://github.com/akkartik/brooks-ruby-warrior.

Re: Battlecode – AI Programming Competition

#32

Are there competitive AIs generated by machine learning? Or is it all custom coded?

It's generally custom, although we've had teams use ML strategies to tune their bots in the past. (I'm one of the people who runs this competition). We impose tight runtime limits on the code your AI can run - generally limiting the number of bytecodes the JVM can execute per turn per robot. This is partly pedagogical; it kinda-sorta simulates embedded programming, like for a real robot. It's also practical; it keeps…

What does it mean that "supported programming languages are Java and Scala"? Are other JVM languages allowed?

Re: Battlecode – AI Programming Competition

#34
post #32

Earlier quoted context omitted.

It's generally custom, although we've had teams use ML strategies to tune their bots in the past. (I'm one of the people who runs this competition). We impose tight runtime limits on the code your AI can run - generally limiting the number of bytecodes the JVM can execute per turn per robot. This is partly pedagogical; it kinda-sorta simulates embedded programming, like for a real robot. It's also practical; it keeps…

What does it mean that "supported programming languages are Java and Scala"? Are other JVM languages allowed?

Other JVM languages are technically allowed, but AFAIK they generate way too much scaffolding & reflection-based flow such that you end up burning your entire bytecode computation budget just in calling one or two functions.

So yes, you could probably use Jython or Jruby, but you wouldn't be competitive against the people writing straight Java.

Re: Battlecode – AI Programming Competition

#35
post #34
post #32

Earlier quoted context omitted.

What does it mean that "supported programming languages are Java and Scala"? Are other JVM languages allowed?

Other JVM languages are technically allowed, but AFAIK they generate way too much scaffolding & reflection-based flow such that you end up burning your entire bytecode computation budget just in calling one or two functions. So yes, you could probably use Jython or Jruby, but you wouldn't be competitive against the people writing straight Java.

I bet Kawa Scheme performs well in that regard.

Re: Battlecode – AI Programming Competition

#36
Wow, this reminds me of GISMO from 1991 or so. Teams of 8 tanks, 2 bases, terrain included water, mountains, forests, and plains. Implemented in dos and required a modem to compete.

Neat framework, well before it's time, very few competitors that worked. They resisted the recommendation to support TCP instead of modems and linux, even after it was ported.

It was modeled after the M1 abrams as part of a research project in AI controlled teams.

I tinkered with it, I liked it because the terrain was complicated enough to lend itself to quite a few strategies. I've not seen anything similar since.

http://stars.library.ucf.edu/istlibrary/104/

Re: Battlecode – AI Programming Competition

#38
post #37
post #22

Is that a remake of the Google AI Challenged that ended after the awesome ant game?

What awesome ant game?

This one: http://ants.aichallenge.org/ I greatly enjoyed it, and it taught me Python. I keep checking back in the hopes someone will get a new competition together.
Post reply on HN