robocode

All I Wanted To Do Was Post Some Robocode

  • Posted on: 20 November 2014
  • By: davis

It started with a simple urge.

I just wanted to show some friends a simple ramming bot that I had worked on for Robocode. That's it.

So I started a post, and pasted my code in. Now to format it.. oh. It doesn't format by default with highlighting or any sort of markup. That's okay, I'll just hop over to Google and figure this out.

A Basic Ram Robot In Robocode

  • Posted on: 20 November 2014
  • By: davis

Hi, this is my basic ramming bot. I hope it gives you some ideas regarding moving, firing, and following other bots. This bot is not very intelligent, it loses about 70% of the time to my advanced targeting robot.

However, it is useful and instructive to run this bot against something you're developing, as it is good at exposing big movement weaknesses - this bot will win if you let it follow you around the map!