Difference between revisions of "Robocode/Add a Robot Project"

From Robowiki
Jump to navigation Jump to search
(Finished most parts of the page)
m
Line 4: Line 4:
  
 
== Adding your Robot Project to Robocode ==
 
== Adding your Robot Project to Robocode ==
Start up [[Robocode]] and select '''Preferences''' from the '''Options''' menu, select the '''Development''' tab, and then type in the path to your robots project.
+
Start up [[Robocode]] and select '''Preferences''' from the '''Options''' menu, select the '''Development Options''' tab, and then type in the path to your robots project.
  
 
http://robocode.sourceforge.net/help/ide/optionspreferences.png
 
http://robocode.sourceforge.net/help/ide/optionspreferences.png

Revision as of 22:00, 28 November 2007

This article is a stub. You can help RoboWiki by expanding it.

This page describe how to add a robot project from another IDE into Robocode.

Adding your Robot Project to Robocode

Start up Robocode and select Preferences from the Options menu, select the Development Options tab, and then type in the path to your robots project.

http://robocode.sourceforge.net/help/ide/optionspreferences.png

Click Finish, then start a new battle (and perhaps press F5 in order to refresh the list of robots), and voila! There's your robot.

http://robocode.sourceforge.net/help/ide/voila.png

You can edit your robot in Eclipse as much as you want. Just remember to save it (CTRL-S) before switching back to Robocode. Robocode will use the latest compiled version, every time you start a new battle.

Eclipse is very powerful, and will assist you greatly in writing robots (or anything else, for that matter). For instance, try hitting CTRL-SPACE when you can't remember the exact wording of something:

http://robocode.sourceforge.net/help/ide/ctrlspace.png

See Also