Difference between revisions of "Robocode Basics"

From Robowiki
Jump to navigation Jump to search
(Merging several pages from the old wiki into this - this is only partly finished.)
(Redirected to Getting Started with Robocode)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
Robocode is a Java-based competitive programming game, originally released by IBM. Robocode was first released around July 27, 2001 by [[Mathew Nelson]] and IBM's AlphaWorks. Later on in March, 2005 Robocode became Open Source, and [[Mathew Nelson]] stopped developing it. In July 15, 2006 the Open Source project was taken over and continued by [[Flemming N. Larsen]].
+
#REDIRECT [[Robocode/Getting Started]]
 
 
== Frequently Asked Questions ==
 
; I can't install Robocode.
 
: First make sure you have Java installed on your computer. To check it, run the command: <code>java -version</code> It should execute and show a version 1.5 or higher. If not, go to Sun site and download the last version. After, make sure you have downloaded the correct file (<code>robocode-setup.jar</code>). Execute the file by double-clicking on it, or if you want to do it manually, execute the following command: <code>java -jar robocode-setup.jar</code>. It will launch an installer that will install Robocode. The installer creates the icons to execute Robocode, but you can execute it manually by running the <code>robocode.bat</code> or <code>robocode.sh</code> file in the <code>/robocode</code> directory.
 
 
 
; I have downloaded a robot from the Web, but I don't know how to use it, because it doesn't appear anywhere.
 
: By default, robots are read from the <code>/robocode/robots</code> directory. You can select "Robot -> Import Downloaded Robot" to copy a robot JAR to this directory from another location.
 
 
 
; What do I have to do to see the source code of a robot?
 
: You can do two things. The first option is to open the Editor Window in Robocode and use the command in the File menu. The second option is to open the robot ".jar" file with a zip utility and find the source code there (assuming, of course, the robot is open source).
 
 
 
== External links ==
 
 
 
* [http://en.wikipedia.org/wiki/Robocode Wikipedia entry for Robocode]
 
* [http://robocode.sourceforge.net/ Classic homepage]
 
* [http://sourceforge.net/projects/robocode Robocode project at SourceForge]
 

Latest revision as of 13:00, 28 November 2007