Search results
Oct 25, 2016 · I came to ask about Robocode robots. I have a code for my robots and against 26 of my friends it came 11th. However, I want to try to make it better. I have looked over websites and adjusted my code so it can move unpredictably. This helped it come 1st once in ten rounds. Could you please give me some ideas and tips to help improve this robot ...
Aug 21, 2012 · To do this I need to know more about how robocode works. So what code runs first and what it does and what other code it calls and so on. However I cannot find any good pages on the internet that really go into much detail about the different areas of the robocode game. It's all about how to build your own robot.
Apr 11, 2017 · I thought I might be able to calculate the rounds won value by subtracting deaths from number of rounds, but my counters are not being incremented: public void onRoundEnded(RoundEndedEvent event) ...
Robocode Standard Out. Each bot prints to its own console. To access a bot's console: Start a match with your bot; Click the bot's tag on the panel to the right; Now you should see something like this that contains whatever messages your bot is printing to standard out.
Dec 30, 2011 · I have tried posting a question at StackOverflow. Also I installed Jython 2.2, the last version with jythonc, and tried compiling a simple robot to .class and to .jar. It worked as far as producing these files, but Robocode doesn't seem to recognize them as robot, even though I put them in robots/ directory. –
Feb 26, 2024 · Currently testing Robocode (fresh C:\ installation). I've compiled a test robot and a sentry. However, when running battle with the robot, sentry and an interactive bot, my max FPS is 1-2FPS (read from the output at the top of the screen).
I copied the code from Robocode/Graphical Debugging wiki and tested that. Here is the code (Wiki is ...
Sep 28, 2014 · MyRobot.java:123: onBattleEnded(robocode.BattleEndedEvent) in ma001jh.MyRobot cannot implement onBattleEnded(robocode.BattleEndedEvent) in robocode.robotinterfaces.IBasicEvents2; overridden method does not throw java.io.IOException public void onBattleEnded(BattleEndedEvent e) throws IOException ^ 1 error
Feb 6, 2013 · I wish to automatically run a series of Robocode tanks in matches, and recieve back their scores and other info. I believe that I require the Robocode Engine, and wondered where I could get a JAR file for using it in Java. Thanks!
May 3, 2014 · I'm extending an open-source AdvancedRobot in Robocode. That robot uses setFire to shoot, but never calls execute (doesn't appear in the code). I'm wondering how it's possible to still be able to shoot (it does). SetFire's doc says : This call returns immediately, and will not execute until you call execute() or take an action that executes.