Code robots in Python. Fight other players. Climb to the top
robotgame.org
robotgame.org
Are there are any particularly popular open source projects of this sort that people interested in this area could perhaps collaborate around?
http://en.wikipedia.org/wiki/RobotWar
Which I'm aware of because it inspired Robot Battle:
Which inspired RoboCode:
http://robocode.sourceforge.net/
Which seems to have inspired a lot of others.
(Reads a bit like the Old Testament; all that begetting.)
One problem is that almost all of them are language-specific. Robot Battle implemented its own language, RoboCode uses Java, this game is in Python.
One game in the genre is RealTimeBattle, which instead allows bots to communicate with the game simulator via standard IPC. So, in theory, robot programs can be written in a variety of languages.
Shameless plug: I built a platform [0] like this - but language-agnostic - for use during hackathons at the local TU's department of CS / software engineering. By language-agnostic I mean both bots and engines can be written in any programming language one prefers, as long as that language can encode/decode JSON. Three game engines are ready, one more (called Trapdoor Reversi) is in the planning stages. I've already gotten enthusiastic feedback from a group of sophomores at a recent hackathon.
If anyone finds it interesting, please star the repo.
But you're right that a more agnostic system makes submission to a server trickier for the server.
https://news.ycombinator.com/item?id=6748373
You program herbivores and carnivores and try to invade other people's terrariums.
Your creatures can see, move, attack, defend, reproduce, eat.
Did I mention there's also a whole conference with a bunch of tech talks, student parties, etc?
Writing a web frontend is something I have been wanting to do for this a long time, nice to see someone implement that!
Example sandbox: https://github.com/thestinger/playpen
And this one is ok, http://berlin-ai.com/ - you just provide the URL of your AI and they POST game states to you, and you have 5 seconds to reply with your orders.
If the goal was simply to make fighting robots, something more agnostic would be cool. That said, the system enforces a 300ms response time per robot, so compiled languages would have a big advantage.
http://www.gamerz.net/c++robots/
I've still got two robots in the top ten there, and another just outside.
The only time I got it to do something else was by taking the sample code, raw copy-pasting it in, and running that.
Promising but not ready yet.
if bot.player_id == self.player_id:
# they're on your team!