Difference between revisions of "Robocode/Eclipse/Create a Robot"
m (Added to Tutorials category) |
(Updated links to other pages) |
||
Line 30: | Line 30: | ||
The only thing left is to make sure that [[Robocode/Add a Robot Project|Robocode sees your robot]]. | The only thing left is to make sure that [[Robocode/Add a Robot Project|Robocode sees your robot]]. | ||
− | == See | + | == References == |
− | * [[Robocode/ | + | * [http://www.eclipse.org/ Eclipse.org - Eclipse home page] |
− | * [[Robocode/ | + | * [http://www.eclipse.org/downloads/ Eclipse Downloads] |
− | * [[Robocode/ | + | * [http://download.eclipse.org/eclipse/downloads/ Eclipse project downloads - latest releases] |
+ | |||
+ | == See also == | ||
+ | |||
+ | === 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/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/Learning from Robots|Learning from other robots]] | ||
+ | * [[Robocode/Package Robot|Package your robot]] | ||
+ | * [[Robocode/FAQ|Frequently Asked Questions (FAQ)]] | ||
+ | * [[Robocode/Articles|Articles about Robocode]] | ||
+ | * [[Robocode/Console Usage|Starting Robocode from the command line]] | ||
+ | * [[Robocode/Graphical_Debugging|Graphical debugging]] | ||
+ | * [[Robocode/Eclipse|Using Eclipse as IDE]] | ||
+ | * [[Robocode/Eclipse/Create_a_Project|Creating a project for your robots]] | ||
* [[Robocode/Running from Eclipse|Running your robot from Eclipse]] | * [[Robocode/Running from Eclipse|Running your robot from Eclipse]] | ||
* [[Robocode/Eclipse/Debugging Robot|Debugging your robot with 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]] | ||
[[Category:Eclipse IDE]] | [[Category:Eclipse IDE]] | ||
− |
Revision as of 22:57, 10 October 2008
This page describes how to create a robot in Eclipse, and assume that you already now how to create a project in Eclipse.
Contents
Creating a Robot in Eclipse
Ok, so we have a project now, and it's time to create a robot (or many robots!) in it.
First, right-click on the MyRobots project, and select New -> Class:
Next, fill in the package name (Robocode suggests your initials), a Robot Name (here I have FnlBot), and change the Superclass field to robocode.Robot:
Click Finish, and you'll see your robot class, like this:
You can now edit your robot however you like.
You can save your robot as often as you like by hitting CTRL-S, or selecting File->Save. There's no need to explicit select Compile (as in the Robot Editor for Robocode) anymore, since Eclipse automatically takes care of this task for you, when you make changes to your files.
Have fun playing around with Eclipse. Since there's no better way to learn than by playing around, I'll leave you to it!
The only thing left is to make sure that Robocode sees your robot.
References
See also
Robot API
Tutorials
- System Requirements for Robocode
- How to download and install Robocode
- The anatomy of a robot
- Getting started with Robocode
- My First Robot Tutorial
- Robocode Game Physics
- Scoring in Robocode
- Using the robot console
- Downloading other robots
- Learning from other robots
- Package your robot
- Frequently Asked Questions (FAQ)
- Articles about Robocode
- Starting Robocode from the command line
- Graphical debugging
- Using Eclipse as IDE
- Creating a project for your robots
- Running your robot from Eclipse
- Debugging your robot with Eclipse