- Q:
To add a new Jrobot, you need to compile a Java Program and add it to your files?
A:
No. You can compile and test your own robot using the off-line package. Then you upload the class file to the site. That file is automatically recognized by the applet that simulates tournaments.
- Q:
If I make any improvements (to my robot) how do I upload them?
Do I send the same file again or do I choose a new name?
A:
Send a file with the same name. The old file is overwritten and the new robot inherits the results of its predecessor.
If you choose a new name you send a robot that can fight against the old one.
- Q:
I followed all the rules but the Upload CGI refuses my robot. Why?
A:
Case 1 In the program that controls your robot you catch an exception, so in the class file a java.lang.Exception class appears. In such a case a rule was broken: "You can't use the classes of the Java API in the code of your robot"
Case 2 In the program that controls your robot you use the java.lang.Math class to get the PI constant, so a rule was broken: "You can't use the classes of the Java API in the code of your robot". Define yourself the PI constant in the code of your robot.
- Q:
I sent a robot to your site, and I can now see it in the list. But when I select it to a match, it does not appear in the arena. Why?
A:
Case 1 The robots can't use inner classes, sorry. All the algorithms must be in a single class. Your robot uses two classes MyRobot.class and MyRobot$1.class. You can upload only a single class, so MyRobot$1 was missing in the on-line version and an exception was thrown.