Difference between revisions of "RoboRumble/Enter The Competition"

From Robowiki
Jump to navigation Jump to search
m (Very minor edit)
(Update advice)
Line 1: Line 1:
 
{{:RoboRumble/Navigation}}
 
{{:RoboRumble/Navigation}}
  
To create a bot that is accepted by the RR@Home server, the following rules are mandatory:
+
To create a bot that is accepted by the RoboRumble server, the following rules are mandatory:
  
* The bot must have a packagename.
+
* The bot must have a package name.
* The bot must be packaged in a jar-file.
+
* The bot must be packaged in a JAR file.
* A <botname>.properties file must be present in the jar-file.
+
* A <code><botname>.properties</code> file must be present in the JAR file.
* The naming of the bot must reflect the internal structure,see [http://home.versatel.nl/gheijenk/plaatjes/bot_naming.png]for sample.RamFire.
+
* The naming of the bot must reflect the internal structure.
  
 
The easiest way to do this is to package your bot with Robocode (Robot -> Package robot for upload).
 
The easiest way to do this is to package your bot with Robocode (Robot -> Package robot for upload).
 
 
  
 
==Strong recommendations==
 
==Strong recommendations==
  
* Choose a unique main packagename to avoid mixup between different participants.
+
* Choose a unique main package name to avoid mixups between different authors.
* Stick with that one main packagename per author.
+
* Stick with that one main package name per author.
* Do not use underscores in your packagename, botname or versionnumber. Robocode itself has no problems with it, but the RR@Home client is known to have problems with them, especially in versionnumbers.
+
* Do not use underscores in your package name, bot name or version number. Robocode itself has no problems with it, but the client is known to have problems with them, especially in version numbers.
* Keep your bot Java 5 compatible. Not everyone has switched to Java 6, let alone Java 7, and certainly on a Mac this will result in invalid battleresults.
+
* Keep your bot Java 5 compatible. Not everyone has switched to Java 6, let alone Java 8, and certainly on a Mac this will result in invalid battle results.
* Try out your just packaged bot before letting it loose in the rumble.  
+
* Try out your just-packaged bot before letting it loose in the rumble.
 +
* Upload your file to a reliable file-hosting website:
 +
** Do not upload to your own domain/web hosting. Such links have a strong tendency to break. This has happened to [[Voidious]], [[Skilgannon]], [[Darkcanuck]], [[David Alves]], [[Chase-san]], etc., etc., etc...
 +
** Public Dropbox links occasionally seem to break too. Random "free hosting" services are definitely out.
 +
** Google Pages is a good and recommended host.
 +
** If you are developing your bot on GitHub, you can publish the JAR on [https://help.github.com/articles/about-releases/ GitHub Releases].
  
 
==To enter the 1v1 competition==
 
==To enter the 1v1 competition==
  
* Upload your bot into hosing of your choices (see note below).
+
* Upload your bot into hosting of your choice (see note above).
 
* Go to [[RoboRumble/Participants]] page and add your bot to the list.
 
* Go to [[RoboRumble/Participants]] page and add your bot to the list.
* You should be able to see the results (some time later) in [[RoboRumble/Current Rankings]].
+
* You should be able to see the results (some time later) on [http://literumble.appspot.com LiteRumble].
 
 
NOTE: It's is not recommend to upload your robot to [[Robocode Repository]] any more, due to its instability(the overall connectivity is still all right, though). Instead, use your own web hosting if available, or try Google Pages. Dropbox public links may work too. Shared file hosting service will NOT work.  If you would like to upload a bot into robocode repository, there is a very detailed description at '''[http://everythingrobocode.moonfruit.com/ EverythingRobocode]'''.
 
  
==To enter the Melee competition==
+
==Entering the Melee competition==
  
If you are planning to enter the Melee competition, then enter your bots into [[RoboRumble/Participants/Melee|Participants Melee]].
+
Enter your bot into [[RoboRumble/Participants/Melee|Participants Melee]].
  
==To enter the Teams competition==
+
==Entering the Teams competition==
  
If you are planning to enter the Teams competition, then enter your teams into [[RoboRumble/Participant/Teams|Participant Teams]].
+
Enter your team into [[RoboRumble/Participant/Teams|Participant Teams]].
  
==To add your country's flag to ranking table==
+
==Adding your country's flag to ranking table==
  
In the rankings tables bots are represented with a the flag of its authors nationality. We associate the "main" package of the bot with a flag. If you find your bot has no flag, or has the wrong flag, let us know at [[RoboRumble/Country Flags]].
+
Enter your main package name and your country's [[wikipedia:ISO 3166-1 alpha-3|ISO 3166-1 alpha-3 code]] into [[RoboRumble/Country Flags|Country Flags]].

Revision as of 23:33, 12 August 2017

To create a bot that is accepted by the RoboRumble server, the following rules are mandatory:

  • The bot must have a package name.
  • The bot must be packaged in a JAR file.
  • A <botname>.properties file must be present in the JAR file.
  • The naming of the bot must reflect the internal structure.

The easiest way to do this is to package your bot with Robocode (Robot -> Package robot for upload).

Strong recommendations

  • Choose a unique main package name to avoid mixups between different authors.
  • Stick with that one main package name per author.
  • Do not use underscores in your package name, bot name or version number. Robocode itself has no problems with it, but the client is known to have problems with them, especially in version numbers.
  • Keep your bot Java 5 compatible. Not everyone has switched to Java 6, let alone Java 8, and certainly on a Mac this will result in invalid battle results.
  • Try out your just-packaged bot before letting it loose in the rumble.
  • Upload your file to a reliable file-hosting website:
    • Do not upload to your own domain/web hosting. Such links have a strong tendency to break. This has happened to Voidious, Skilgannon, Darkcanuck, David Alves, Chase-san, etc., etc., etc...
    • Public Dropbox links occasionally seem to break too. Random "free hosting" services are definitely out.
    • Google Pages is a good and recommended host.
    • If you are developing your bot on GitHub, you can publish the JAR on GitHub Releases.

To enter the 1v1 competition

  • Upload your bot into hosting of your choice (see note above).
  • Go to RoboRumble/Participants page and add your bot to the list.
  • You should be able to see the results (some time later) on LiteRumble.

Entering the Melee competition

Enter your bot into Participants Melee.

Entering the Teams competition

Enter your team into Participant Teams.

Adding your country's flag to ranking table

Enter your main package name and your country's ISO 3166-1 alpha-3 code into Country Flags.