Difference between revisions of "Robocode/Learning from Robots"

From Robowiki
Jump to navigation Jump to search
m
(Updated links to other pages)
Line 23: Line 23:
 
[[Image:RobotEditorOpen.png|Shows the Open File dialog for the Robot Editor where the user can select which files to open in the editor]]
 
[[Image:RobotEditorOpen.png|Shows the Open File dialog for the Robot Editor where the user can select which files to open in the editor]]
  
== See Also ==
+
== See also ==
* [[Robocode/Downloading Robots|Downloading other Robots]]
+
 
 +
=== Robot API ===
 +
* [http://robocode.sourceforge.net/docs/robocode/ Robot API]
 +
 
 +
=== Tutorials ===
 +
* [[Robocode/System Requirements|System Requirements for Robocode]]
 +
* [[Robocode/Download|How to download and install Robocode]]
 +
* [[Robocode/Robot Anatomy|The anatomy of a robot]]
 
* [[Robocode/Getting Started|Getting started with Robocode]]
 
* [[Robocode/Getting Started|Getting started with Robocode]]
 
* [[Robocode/My First Robot|My First Robot Tutorial]]
 
* [[Robocode/My First Robot|My First Robot Tutorial]]
 +
* [[Robocode/Game Physics|Robocode Game Physics]]
 +
* [[Robocode/Scoring|Scoring in Robocode]]
 +
* [[Robocode/Robot Console|Using the robot console]]
 +
* [[Robocode/Downloading_Robots|Downloading other robots]]
 +
* [[Robocode/Package Robot|Package your robot]]
 
* [[Robocode/FAQ|Frequently Asked Questions (FAQ)]]
 
* [[Robocode/FAQ|Frequently Asked Questions (FAQ)]]
* [[List of articles about Robocode]]
+
* [[Robocode/Articles|Articles about Robocode]]
 +
* [[Robocode/Console Usage|Starting Robocode from the command line]]
 +
* [[Robocode/Graphical_Debugging|Graphical debugging]]
 +
* [[Robocode/Using an IDE|Using Eclipse as IDE]]
 +
* [[Robocode/Eclipse/Create_a_Project|Creating a project for your robots]]
 +
* [[Robocode/Eclipse/Create_a_Robot|Creating a robot in Eclipse]]
 +
* [[Robocode/Running from Eclipse|Running your robot from Eclipse]]
 +
* [[Robocode/Eclipse/Debugging Robot|Debugging your robot with Eclipse]]
 +
 
 +
=== News and Releases ===
 +
* [http://sourceforge.net/export/rss2_project.php?group_id=37202 RSS Feeds for the Robocode project]
 +
* [http://sourceforge.net/project/showfiles.php?group_id=37202&package_id=29609 Robocode file releases]
 +
 
 +
=== Home pages ===
 +
* [http://robocode.sourceforge.net/ Classic homepage]
 +
* [http://sourceforge.net/projects/robocode Robocode project at SourceForge]
 +
* [http://robocoderepository.com/ Robocode Repository]
 +
* [[wikipedia:Robocode|Wikipediaentry for Robocode]]
  
 
[[Category:Robocode Documentation]]
 
[[Category:Robocode Documentation]]
 +
[[Category:Tutorials]]

Revision as of 22:18, 10 October 2008

This page suggest that you learn from other robots by downloading and examining the source code of robots.

Learning from other Robots

By now, you should know how to use the Robot editor and create robots. If not, you should follow the My First Robot Tutorial first. You will also want to look at some tutorials.

Eventually, though, you'll want to learn by examining code written by others. Some authors graciously include the source to their robots, and you can examine these robots using the Extract downloaded robot for editing tool, in the Robot Editor:

Shows how to extract a robot by selecting "Extract downloaded robot for editing" in the File menu of the Robot Editor


Simply select the robot you want to extract...

Shows the dialog used when extracting a robot, where the user must choose which robots to extract


Then click Extract to extract the .jar to the robots directory..

Shows a dialog which prints out information about the progress and results of extracting a robot


As you can see, the files in this example were extracted to C:\robocode\robots\rapture\. You can now open them up and look at them in the Robot Editor:

Shows the Open File dialog for the Robot Editor where the user can select which files to open in the editor

See also

Robot API

Tutorials

News and Releases

Home pages