Global Positioning System Reference
In-Depth Information
13.5 Robocode
Before concluding the initial RO and ROApp development, the reader is
advised to download and have a look at the excellent game of Robocode,
which is the brainchild of Mathew Nelson, a software engineer at IBM.
The whole idea of developing, deploying, and playing can be experienced
with Robocode as a great environment for Java programmers to experience
life-cycle development and to anticipate ideas for the ROAF.
One complete life cycle of Robocode can be divided into these phases:
1. Download, install, and launch the Robocode system.
2. Pick some robots, start a battle and see what it's all about.
3. Open the Robot editor (and a robot template), and code and compile
a robot
4. Test the robot against others or against its own clones.
5. Improve the robot and test again.
6. Deploy the robot in jar file for battles.
The Robot in Robocode is the equivalent to the RealObject of the ROAF.
It is controlled via its API|the remote control to a robot enabling the
programmer to move the Robot . The location is described with Cartesian
coordinates on a battlefield similar to a RealObject located by GPS coordi-
nates. A Robot burns energy just as the RealCar needs fuel. Collisions and
dynamic behavior are pre-implemented (in the base object) and a Robot
can communicate with teammates.
 
Search WWH ::




Custom Search