Difference between revisions of "RoboRumble/Enter The Competition"
Jump to navigation
Jump to search
(Move navbox) |
(Add new guidelines) |
||
Line 9: | Line 9: | ||
== Strong recommendations == | == Strong recommendations == | ||
− | + | * Choose a unique main package name to avoid mixups between different authors. Stick with that one main package name per author. | |
− | * Choose a unique main package name to avoid mixups between different authors. | ||
− | |||
* 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. | * 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. | * 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. | ||
− | * | + | * If your robot is worse than MyFirstRobot, don't enter it. |
− | + | ||
− | * | + | === Making the JAR public === |
− | * | + | You will need to upload your robot's JAR on a website that can store arbitrary files, giving you an URL with which others can download your robot. Keep in mind the following: |
− | + | # The link must be a '''direct link'''. When the link is clicked, the JAR must immediately begin downloading, without any intermediate page. | |
+ | # The link should not break. You should upload your JAR to a reliable file storage service. Random "free online hosting" services are definitely out. Broken links generally will not cause data loss, as all JARs entered into the rumble are backed up on [http://robocode-archive.strangeautomata.com/robots/ Rednaxela's server]; they are just annoying to fix. | ||
+ | |||
+ | Suggestions for your file host: | ||
+ | * 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... | ||
+ | * Google Drive is a good host. Enable link-sharing and [https://lifehacker.com/share-direct-links-to-files-in-google-drive-and-skip-th-1493813665 transform the share link into a direct download link]. | ||
+ | * Dropbox is also good for hosting JARs. Enable public sharing and [https://www.dropbox.com/help/desktop-web/force-download append <code>?dl=1</code> to the end of the link]. | ||
+ | * If you are developing your bot on GitHub, you can publish the JAR on [https://help.github.com/articles/about-releases/ GitHub Releases]. | ||
+ | * You (ab)use GitHub as a file hosting service, by uploading the JAR into a public repository. | ||
== To enter the 1v1 competition == | == To enter the 1v1 competition == | ||
− | |||
* Upload your bot into hosting of your choice (see note above). | * 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. | ||
Line 28: | Line 33: | ||
== Entering the Melee competition == | == Entering the Melee competition == | ||
− | |||
Enter your bot into [[RoboRumble/Participants/Melee|Participants Melee]]. | Enter your bot into [[RoboRumble/Participants/Melee|Participants Melee]]. | ||
== Entering the Teams competition == | == Entering the Teams competition == | ||
− | |||
Enter your team into [[RoboRumble/Participant/Teams|Participant Teams]]. | Enter your team into [[RoboRumble/Participant/Teams|Participant Teams]]. | ||
== Adding your country's flag to ranking table == | == Adding your country's flag to ranking table == | ||
− | |||
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]]. | 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 22:43, 6 September 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).
Contents
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.
- If your robot is worse than MyFirstRobot, don't enter it.
Making the JAR public
You will need to upload your robot's JAR on a website that can store arbitrary files, giving you an URL with which others can download your robot. Keep in mind the following:
- The link must be a direct link. When the link is clicked, the JAR must immediately begin downloading, without any intermediate page.
- The link should not break. You should upload your JAR to a reliable file storage service. Random "free online hosting" services are definitely out. Broken links generally will not cause data loss, as all JARs entered into the rumble are backed up on Rednaxela's server; they are just annoying to fix.
Suggestions for your file host:
- 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...
- Google Drive is a good host. Enable link-sharing and transform the share link into a direct download link.
- Dropbox is also good for hosting JARs. Enable public sharing and append
?dl=1
to the end of the link. - If you are developing your bot on GitHub, you can publish the JAR on GitHub Releases.
- You (ab)use GitHub as a file hosting service, by uploading the JAR into a public repository.
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.
See Also
|